IF AND VLOOKUP formula needed

C

Carolina

I need to do a formula where I need to determine if the size of C12 or C13 is
greater or less than E12 or E13 respectively. Knowing that I need for the
formula to do a vlookup into the "Non Direct Care" tab and if there is an "x"
in column J to multiply the value in cell B12 or B13 times the values in J3
or J4 times 14 days and then divide it by 60 (J3 is if less than E12 or E13
and J4 is if greater than E12 or E13). If there is NO "x" on column "J" I
need it to return a "0".

This is what I have and it is returning values regardless if there is an "x"
or not.

=IF(AND(C12<=E12,VLOOKUP($B$4,'Non Direct
Care'!$A$1:$S$123,10,FALSE)="x"),$B$12*'Non Direct Care'!J3*14/60,$B$12*'Non
Direct Care'!J4*14/60)

Any help will be much appreciated.

Carolina
 
T

Tom-S

It's a little confusing trying to understand your first set of conditions -
where you say C12 or C13 greater or less than E12 or E13 respectively.

Could you clarify that part a little?

Regards,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

If/Vlookup override 4
formula too long 1
IF statement with 2 logicals 1
match formula needed 2
Two vlookup questions 5
Sliding Commission Formula 2
Formula/functions 0
Help needed regarding calculating time 0

Top