LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 8
Default Nested "IF" Statement

I'm trying to do nested IF's, when I run each if statement seperately they work fine, but when I merge them into one line of code they give me #Value error. Any help would be appreciated!

Here's the 3 specific lines:

=IF('Requestor Information'!E28"",'Requestor Information'!E28)

=IF(AND(C50,'Requestor Information'!G35="Yes"),SUM('Requestor Information'!E28+7+3))

=IF(AND(C50,(OR('Requestor Information'!G35="No",'Requestor Information'!G35=""))),SUM('Requestor Information'!E28+7+1))


Putting them together --
=IF('Requestor Information'!E28"",'Requestor Information'!E28),IF(AND(C50,'Requestor Information'!G35="Yes"),SUM('Requestor Information'!E28+7+3)),IF(AND(C50,(OR('Requestor Information'!G35="No",'Requestor Information'!G35=""))),SUM('Requestor Information'!E28+7+1))

I also want to add another bit of code that says if any of the numbers returned are 10 then the cell will = 10... I haven't even looked at that yet until I can get the other problem resolved!!!
 
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
"IF" Statement Problem lajohn63 Excel Worksheet Functions 0 October 5th 06 11:53 AM
Nested IF statement with VLOOKUP James Hamilton Excel Discussion (Misc queries) 1 August 16th 06 07:46 AM
:confused: Nested if then else statement polk383 Excel Worksheet Functions 4 May 28th 06 06:02 PM
Problem with nested IF_OR statement DOOGIE Excel Worksheet Functions 7 June 24th 05 03:27 AM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


All times are GMT +1. The time now is 01:46 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"