Hi
Im having trouble with a formula. Please help.
In cell H5 I need a formula that will work out the following.
If H4 = 0-1000 it must read £10
If H4 = 1001-1800 it must read £5
If H4 = 1801+ it must read £0
Thanks
Hi
Im having trouble with a formula. Please help.
In cell H5 I need a formula that will work out the following.
If H4 = 0-1000 it must read £10
If H4 = 1001-1800 it must read £5
If H4 = 1801+ it must read £0
Thanks
=lookup(h4,{0,1001,1801},{10,5,0})
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Formula:Please Login or Register to view this content.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Legend
Thanks
Ok, That seemed a little easy for you. Lol
Perhaps I could simplify the whole thing im trying to do.
Cell B1 is either going to be under 1000, between 1001 and 1800, or over 1801
If B1 is under 1000 and
If H4 = 0-1000 it must read £17
If H4 = 1001-1800 it must read £10
If H4 = 1801+ it must read £0
If B1 is Between 1001 and 1800 and
If H4 = 0-1000 it must read £10
If H4 = 1001-1800 it must read £5
If H4 = 1801+ it must read £0
If B1 is over 1801 and
If H4 = 0-1000 it must read £0
If H4 = 1001-1800 it must read £0
If H4 = 1801+ it must read £0
Hope that's clear.
Thanks
Try
=IF(B1<1000,IF(AND(H4<=1000,H4>=0),17,IF(AND(H4<=1800,H4>=1001),10)),IF(B1<=1800,IF(AND(H4>=1001,H4<=1800),5),0))
That returns a FALSE answer.
tRY
Formula:Please Login or Register to view this content.
☚ Click ★ just below left if it helps, Boo?ath?
Maybe:Formula:Please Login or Register to view this content.
Regards, TMS
This works on all except if the B1 (B2 as you have put) is 999 or less. How would I correct it?
Try
Formula:Please Login or Register to view this content.
And the other solutions?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks