LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pdgood
 
Posts: n/a
Default Nested If statement revisited


Please forgive my ignorance, I am new to this.
My question is almost identical to the previous post, but I was unable
to understand that answer.
My problem is that I have two ifs that need to be satisfied before
returning an answer. Example:
If B10="X" and A2B2 then 2*A2
If B10="X" and B2A2 then 2*B2
If B10 doesn not = "X" then 0

I know how to write the simple version
=IF((B10="X"),2*A2,0)
but I'm not sure where to place the extra argument or what term to use
to add another one. (& or AND or whatever). I've tried them
all....except the right one, apparently.

Someone suggested VLOOKUP tables and I looked that up in my manual but
it seems to indicate referencing a set table which this does not seem
to have. Perhaps I don't understand correctly.
In any event, the first scenario I mentioned is easier to understand,
if I can just figure out how to include one more argument.
Any ideas?
Thanks so much.


--
pdgood
------------------------------------------------------------------------
pdgood's Profile: http://www.excelforum.com/member.php...o&userid=31623
View this thread: http://www.excelforum.com/showthread...hreadid=516661

 
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 statement jgannon Excel Discussion (Misc queries) 3 November 22nd 05 11:55 PM
Nested If statement rsbergeron Excel Worksheet Functions 1 June 30th 05 10:19 PM
Problem with nested IF_OR statement DOOGIE Excel Worksheet Functions 7 June 24th 05 03:27 AM
Nested If statement Jock W Excel Worksheet Functions 3 March 22nd 05 06:56 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


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