Solved

IF And

Posted on 2011-03-01
2
701 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

861 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