Nested formula

bullit_nl

Active Member
Joined
Jun 27, 2002
Messages
273
Hello,

I'm trying to calculate a rate with a formula into one cell. I don't know if this is possible because I need some of the results of the calculations in the result of that formula.

First I need the percentage of C3 of total number in A1 > then I want to multiply that percentage with a number value in cell A2> then I want to divide that result to a number value in B3.

Thank you
 

Some videos you may like

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
56,651
Office Version
  1. 365
Platform
  1. Windows
Is this what you are looking for?
Excel Formula:
=((C1/A1)*A2)/B3
 

bullit_nl

Active Member
Joined
Jun 27, 2002
Messages
273
Is this what you are looking for?
Excel Formula:
=((C1/A1)*A2)/B3

Hello Joe,

Thank you very much for your quick reply!
Yes that is exactly what I'm looking for.
Can you add a value error in front of it too?
 

bullit_nl

Active Member
Joined
Jun 27, 2002
Messages
273
Think I already figured it out how to add that:

=IFERROR(((C1/A1)*A2)/B3;0)
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
56,651
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Think I already figured it out how to add that:

=IFERROR(((C1/A1)*A2)/B3;0)
Yes, if there is a possibility of error, you can wrap it in an IFERROR.

The most common cause of error in a situation like this is trying to divide by zero. Another way of handling that could be:
Excel Formula:
=IF(B3=0;0;((C1/A1)*A2)/B3)
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
56,651
Office Version
  1. 365
Platform
  1. Windows
You are welcome.
Glad I was able to help!
:)
 

Watch MrExcel Video

Forum statistics

Threads
1,127,584
Messages
5,625,644
Members
416,124
Latest member
DeMoNloK

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