Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default IF AND VLOOKUP formula needed

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default IF AND VLOOKUP formula needed

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


"Carolina" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed for Excel formula using if, iserr, match and vlookup! midget Excel Worksheet Functions 1 February 12th 10 10:02 AM
Match, VLookup possible formula needed Roibn L Taylor Excel Discussion (Misc queries) 7 January 23rd 09 02:33 AM
VLOOKUP FORMULA EVALUATION NEEDED SSJ New Users to Excel 3 March 29th 08 04:15 PM
VLOOKUP formula needed olrustyxlsuser Excel Discussion (Misc queries) 3 June 20th 07 10:18 PM
Vlookup formula needed? Kent Excel Worksheet Functions 1 February 21st 07 08:50 PM


All times are GMT +1. The time now is 11:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"