FORMULA TO CALCULATE PERCENTAGE BASED ON CERTAIN CRITERIA

GMan62

New Member
Joined
May 7, 2002
Messages
2
I am trying to build a formula that will give me a certain Percentage based on the the numbers in the fields. Here is the example using Row 3 and columns C, D & E. info in the worksheet: C3 = 4 D3 = 3 & E3 =2

C3 D3 E3
4 3 2

Here is the criteria. If D3> C3 give the percentage of E3/C3, If D3< C3 give the percentage of E3/D3.

I want it to reflect the result as a Percentage ie 67%. The other thing I need to be able to do is I am doing this in different workbooks. So the page of workbook 1 is where I want the result displayed, but the information is gathered from a page in Workbook 2. Any help would be greatly appreciated.

GMan 62
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
Re: FORMULA TO CALCULATE PERCENTAGE BASED ON CERTAIN CRITERI

The formula could be something like

=E3/MIN(C3, D3)

and format as percentage.

And the cells being in a different workbook shouldn't be an issue. Just have both workbook open at the same time, and just point and click to the specific cells that you want to use, so Excel can type the correct syntax for you.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,151,871
Messages
5,766,857
Members
425,382
Latest member
IronM

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