rank.eq with multiple if conditions

adamelston

New Member
Joined
Jul 22, 2016
Messages
31
Hi, can anyone provide guidance/examples on rank.eq formula with multiple conditions?

I am generating pivot table for Company A filtered by year, and I want to set up a linked table - table 2 (so row values change when my pivot filters change) to display rank.eq for each row value generated in the pivot, relative to the cohort (e.g. all companies in 'Year', 'Region'), from which my filtered company is taken.

I am guessing this would be formula in table 2 comprising a combination countifs/rank.eq formula looking up 'Year', 'Region', 'All', 'F', 'M' and returning in each case the rank.eq of company A?

table 1. Pivot table
Year = 2019

Company A (England)
All %F %M %
Red
Blue
Green
Orange

<tbody>
</tbody>

table 2. Linked table showing rank.eq for Company A row values relative to all companies in a region

Region "England", Year "2019"
All %F %M %
Red
Blue
Green
Orange

<tbody>
</tbody>

Hope this make sense and any help on how to write this would be appreciated, many thanks!

A
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hello,

Have you tried an array formula with all your conditions ... ?
 
Upvote 0
Hi, no, but I will do - I'm struggling at the moment with the formula to combine the rank.eq with the conditions.
 
Upvote 0

Forum statistics

Threads
1,213,492
Messages
6,113,967
Members
448,537
Latest member
Et_Cetera

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