ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If(If statement? (https://www.excelbanter.com/excel-worksheet-functions/98101-if-if-statement.html)

Boulder257

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


Bob Phillips

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





All times are GMT +1. The time now is 03:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com