Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: Formula Help with excel, late night can't think :o(
Mr Whippy

posted on 25/10/12 at 10:05 AM Reply With Quote
Formula Help with excel, late night can't think :o(

Hi bad thing to sort out just now, I don't feel well

Spent about an hour on this and so fed up, not helped by noisy folk strimming grass outside the office wtf it's nearly november!

All i'm trying to do is get the cell value to be true and false if the date falls between the week above so the conditional format changes the colour. Tried many versions of the formula and none work correctly

There's some free on the web but IT have blocked any uploads.

The end date is just the start date + the duration

Can anyone help, please





[Edited on 25/10/12 by Mr Whippy]

View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member
MRLuke

posted on 25/10/12 at 10:17 AM Reply With Quote
Give me a sec and ill have a look for you
View User's Profile View All Posts By User U2U Member
Mr Whippy

posted on 25/10/12 at 10:22 AM Reply With Quote
quote:
Originally posted by MRLuke
Give me a sec and ill have a look for you


thanks, still not getting it working aaaahhhh!

View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member
Slimy38

posted on 25/10/12 at 10:30 AM Reply With Quote
Your formula is wrong isn't it? In English, yours is;

If the start date is greater than the test date AND test date is less than end date

Shouldn't it be;

If test date is greater than start date and test date is less than end date

or;

=IF(AND(N$2>=$G4, N$2<=$H4),TRUE,FALSE)

View User's Profile View All Posts By User U2U Member
MRLuke

posted on 25/10/12 at 10:32 AM Reply With Quote
This appears to work:

=IF($G4>N$2,FALSE,IF($H4>N$2,TRUE,FALSE))

I think it can probably be simplified. As above lol, both work the same.

[Edited on 25/10/12 by MRLuke]

View User's Profile View All Posts By User U2U Member
rodgling

posted on 25/10/12 at 10:32 AM Reply With Quote
You've got IF(condition, true, false)... lose the IF, it does nothing. Just have AND(N$2>=$G4, N$2<=$H4) (or whatever it needs to be).
View User's Profile Visit User's Homepage View All Posts By User U2U Member
Mr Whippy

posted on 25/10/12 at 10:35 AM Reply With Quote
quote:
Originally posted by MRLuke
This appears to work:

=IF($G4>N$2,FALSE,IF($H4>N$2,TRUE,FALSE))

I think it can probably be simplified. As above lol, both work the same.

[Edited on 25/10/12 by MRLuke]


yeah it works! Well done what a difference a fresh mind makes or one less hung over

Thank you very much that was a big help

View User's Profile E-Mail User Visit User's Homepage View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.