can if formula have another if formula inside the formula? sory for poor english! need help!

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
If f1 i have a formula as below;
IF(OR(H11<13,OR(I11<3,J11<3,K11<3)),"Declined","Accept")
if g1 has word saturday can the formula show "Accept" but if in g1<> saturday then the formula ( IF(OR(H11<13,OR(I11<3,J11<3,K11<3)),"Declined","Accept") )
can someone please edit this fomula???

Thanks for looking into it.;)
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Or should i edit like
IF(OR(H11<13,OR(I11<3,J11<3,K11<3,G1="saturday")),"Declined","Accept")

????
 
Upvote 0
just add

=if("G1="Saturday", "Accept",IF(OR(H11<13,OR(I11<3,J11<3,K11<3)),"Declined","Accept")
 
Upvote 0
can you please make changes again???

because no matter what the other part of formula may be if saturday is thee in g1 i dont want = <TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=20 width=64>IF(OR(H11<13,OR(I11<3,J11<3,K11<3,M11<>"Saturday")),"Declined","Accept")</TD></TR></TBODY></TABLE>
to be calculated.

if it is saturday in g1, no more calculation it should always show accept, but if g1 <> saturday then for
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 15pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=20 width=64>IF(OR(H11<13,OR(I11<3,J11<3,K11<3,M11<>"Saturday")),"Declined","Accept")</TD></TR></TBODY></TABLE>

Thanks again.
 
Upvote 0
I already got the answer fo this in my remix thread, thanks aways. Thanks alot!
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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
Back
Top