Combining multiple Statements Into One Formula

hyewiz

Board Regular
Joined
Nov 29, 2008
Messages
91
Hi there I'm working on excel template where
column E formula would be
=IFS(F8<$Q$3,F8*$P$3*$O$3,AND(F8>$Q$3,F8<$Q$4),F8*$P$3*$O$4,F8>$Q$4,F8*$P$3*$O$5)


this is working fine, but when column F is blank it shows #VALUE !, how can fix this to show blank.


also is there a way we can update this formula so it checks column G also and if there is a value then to us same formula but minus the P3


so basically I like column E gets his value from columns F & G if there is value and to use the formula according.

I hope this makes sense to the reader, sorry if I'm confusing you.


Thank you
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about:

=IFERROR(IF(F8<$Q$3,$O$3,IF(F8<$Q$4,$O$4,$O$5))*F8*IF(G8<>"",1,$P$3),"")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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