# FORMULA TO CALCULATE PERCENTAGE BASED ON CERTAIN CRITERIA

#### GMan62

##### New Member
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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

#### Juan Pablo González

##### MrExcel MVP
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.

Replies
3
Views
147
Replies
1
Views
221
Replies
3
Views
136
Replies
7
Views
215
Replies
0
Views
99

1,186,362
Messages
5,957,410
Members
438,304
Latest member
duck90

### 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.

### Which adblocker are you using?

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

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