LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default I used a nested IF function in excel-calculates only 1st IF?

untested so you may have to adjust right )))). Quit using the old lotus 123
sum(............

=IF(B45="T",g15,IF(B45="G",G13,IF(B45="GG",G14,IF( B45="GW",G16)))))*c45


--
Don Guillett
SalesAid Software

"Cojo" wrote in message
...
I am working with Excel. I have created a formula with a Nested If
statement.
ex. of formula:
=IF(B45="T",SUM(G15*C45,IF(B45="G",SUM(G13*C45,IF( B45="GG",SUM(G14*C45,IF(B45="GW",SUM(G16*C45)))))) ))
When I test this formula out I will get the right outcome when I use "T"
but
to use any other letters it will give me a FALSE outcome.



 
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
Nested IF Function problem for Excel 2003 LJNagora Excel Worksheet Functions 7 January 18th 10 07:35 PM
Excel 2007 nested function David Price Excel Worksheet Functions 2 July 9th 08 10:20 AM
Need a function that calculates time between 2 dates RawisTheGameHhH Excel Worksheet Functions 8 July 1st 06 01:54 AM
Copying the cell contents(a math function) that calculates a numbe DMB Excel Programming 1 September 1st 05 05:00 PM
If function that calculates Ernie [email protected] Excel Worksheet Functions 6 April 28th 05 07:32 PM


All times are GMT +1. The time now is 09:11 AM.

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"