Combine 2 excel formulas to make one formula for a cell

NVRensburg

Board Regular
Joined
Jul 1, 2014
Messages
113
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
HI there :)

I currently have this formula in my cell

=IF(SUM(I4:CD4)=0,"",H4*14%)

and I've read a tip regarding rounding for vat to put this formula in

=ROUND(B2*1.14,2).

How do I merge these 2 formulas to work in one cell?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi NVRensburg,

Thanks for posting your question. From your explanation it's not completely clear to me what numbers you have put in which cells.

But if you want to round the part "H4*14%", you could write:

=IF( SUM(I4:CD4)=0,"", ROUND(H4*14%,2))

You can also round the whole "IF" formula as follows:

=ROUND( IF( SUM(I4:CD4)=0, 0, H4*
Please note that I replace the TRUE condition being "", by 0, because excel will give a #VALUE error when you try to round text.

Hope it helps,

Rick
 
Upvote 0
Hi NVRensburg,

Thanks for posting your question. From your explanation it's not completely clear to me what numbers you have put in which cells.

But if you want to round the part "H4*14%", you could write:

=IF( SUM(I4:CD4)=0,"", ROUND(H4*14%,2))

You can also round the whole "IF" formula as follows:

=ROUND( IF( SUM(I4:CD4)=0, 0, H4*
Please note that I replace the TRUE condition being "", by 0, because excel will give a #VALUE error when you try to round text.

Hope it helps,

Rick

Thank you that works !
 
Upvote 0
Sorry guys, I see the rounding actually needs to be in this cell

=IF(SUM(I4:CD4)=0,"",SUM(I4:CD4))

How would I add the rounding formula to that cell formula?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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