2 If-else statement in one cell

silverskye787

Board Regular
Joined
Jun 18, 2007
Messages
109
how do i combine these two formula into one so as i can put it in one of the cell..

=IF(F8="","",F8)

=IF(B3>1,F8,"")
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

blackbox

Board Regular
Joined
Apr 2, 2006
Messages
122
you have two different else statements

what do you want to happen if F8 is not blank and B3 is less than 1?
 
Upvote 0

silverskye787

Board Regular
Joined
Jun 18, 2007
Messages
109
if F8 is not blank, it will display on the text of F8 on F15,

if B3 is less than 1, F15 will not display anything out even if there is text on F8
 
Upvote 0

blackbox

Board Regular
Joined
Apr 2, 2006
Messages
122
how's this

=IF(F8="","",IF(B3>1,F8,""))


i'm not clear on which cell has priority F8 or B3?

what if F8 is blank and B3 is greater than 1?
should F8 still be blank?
 
Upvote 0

Forum statistics

Threads
1,191,026
Messages
5,984,209
Members
439,878
Latest member
melodysc

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top