Solved

IF And

Posted on 2011-03-01
2
698 Views
Last Modified: 2012-05-11
Experts,

I am trying to figure out why the record highlighted in Red towards the very bottom does not state an amount in Column L row 197.  There is comparing of dates and such and I am not certain exactly why the record above does state a USD Equivalent but the one hightlighted in red does not.  Can someone make sense of that formula?

thank you

row 197, column L
the statement is as follows (too large for me to understand)
=IF(AND($F197>$L$19,$C197<$L$18),IF($G197="USD",$H197,(IF($G197=$H$4,$H197*$L$4,(IF($G197=$H$5,$H197*$L$5,(IF($G197=$H$6,$H197*$L$6,(IF($G197=$H$8,$H197*$L$8,(IF($G197=$H$9,$H197*$L$9,(IF($G197=$H$10,$H197*$L$10,0))))))))))))),0) LCcost.xls
0
Comment
Question by:pdvsa
2 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 500 total points
ID: 35011804
=IF(AND($F197>$L$19,$C197<$L$18)....

This is the first test on your formula. Both conditions must be met for the IF function to execute the "true" part of the function. If you check the values on cells F197>L19 this condition is true (16/02/11>01/10/10) but the second condition is not true C197<L18 (16/02/11<01/01/11). So the AND condition is false thus the formula returning 0. If you try changing the value on cell C197 to say 16/02/10 then you will get a result on cell L197 of:

449,595.24

jppinto
0
 

Author Closing Comment

by:pdvsa
ID: 35012491
thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now