#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If(If statement?


Let's say I have the number of fruits I own in column A, and the number
of vegetables I own in column B. I want to create a formula in column C
that will first look at column A, if Column A says none, than it needs
to look at column B and decide if the cell is greater or less than a
determined number. Then, if Column A doesn't say "none" and instead has
a number, I need it to result based upon whether column A is greater or
less than a certain number.

Any ideas?


--
Boulder257
------------------------------------------------------------------------
Boulder257's Profile: http://www.excelforum.com/member.php...o&userid=20053
View this thread: http://www.excelforum.com/showthread...hreadid=559347

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default If(If statement?

=IF(A1<"None",IF(A1=the_number,"Yes in A","No in
A"),IF(B1=the_number,"Yes in B","No in B"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Boulder257" wrote
in message ...

Let's say I have the number of fruits I own in column A, and the number
of vegetables I own in column B. I want to create a formula in column C
that will first look at column A, if Column A says none, than it needs
to look at column B and decide if the cell is greater or less than a
determined number. Then, if Column A doesn't say "none" and instead has
a number, I need it to result based upon whether column A is greater or
less than a certain number.

Any ideas?


--
Boulder257
------------------------------------------------------------------------
Boulder257's Profile:

http://www.excelforum.com/member.php...o&userid=20053
View this thread: http://www.excelforum.com/showthread...hreadid=559347



Reply
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
SQL concatenation statement CLamar Excel Discussion (Misc queries) 0 June 29th 06 01:58 PM
Returning Specific Cell Content using IF Statement weeclaire Excel Discussion (Misc queries) 2 February 17th 06 01:48 PM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"