Returning names based on 0 values...

joe_h_95

New Member
Joined
Jul 26, 2022
Messages
7
Office Version
  1. 365
Platform
  1. MacOS
Any help would be greatly appreciated! I am looking to return Suppliers based on 0 values for certain people.

1659598096222.png


In Columns H-K, I want to return the top 3 Suppliers (and the value) based on the % in Column N, if their value is £0 within Columns B-E.

So with John for example, it would return Supplier 2 first and Supplier 6 second with no third place. Using Paul as an example, it would return by order Supplier 2, Supplier 5, Supplier 1.

I realise I may need another Column in between each person in H-K to return the % value too.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Any chance that you could manually insert the results you want for that sample data and post it again with XL2BB so that we can copy to test with?
 
Upvote 0
Here's the mini sheet...

Book3
ABCDEFGHIJKLMNOPQR
1PaulJohnNeilDavePaulJohnNeilDave
2Supplier 1$ -$ 417$ 14,443$ -1Supplier 255%Supplier 255%Supplier 67%Supplier 255%Supplier 255%
3Supplier 2$ -$ -$ 57$ -2Supplier 544%Supplier 67%Supplier 544%Supplier 544%
4Supplier 3$ 14$ 16$ 18$ -3Supplier 123%Supplier 123%Supplier 123%
5Supplier 4$ -$ 718$ 522$ -Supplier 720%
6Supplier 5$ -$ 503$ 259$ -Supplier 311%
7Supplier 6$ -$ -$ -$ -Supplier 67%
8Supplier 7$ 1,689$ 3,438$ 58,314$ 1,687Supplier 4-1%
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B4:E4,G4Cell Value<0textNO


Thank you.
 
Upvote 0
See if this helps.

22 08 04.xlsm
ABCDEFGHIJKLMNOPQR
1PaulJohnNeilDavePaulJohnNeilDave
2Supplier 10417.032387714442.8934801Supplier 255%Supplier 255%Supplier 67%Supplier 255%Supplier 255%
3Supplier 20056.7883996602Supplier 544%Supplier 67%Supplier 544%Supplier 544%
4Supplier 314.3816.0417.6203Supplier 123%Supplier 123%Supplier 123%
5Supplier 40718.3632522.20220Supplier 720%
6Supplier 50503.1756258.64960Supplier 311%
7Supplier 60000Supplier 67%
8Supplier 71688.852553438.3555558313.926651686.7767Supplier 4-1%
9
Suppliers
Cell Formulas
RangeFormula
H2:I4H2=IFERROR(INDEX(FILTER($Q$2:$R$8,XLOOKUP($Q$2:$Q$8,$A$2:$A$8,B$2:B$8)=0),{1;2;3},{1,2}),"")
J2:K4J2=IFERROR(INDEX(FILTER($Q$2:$R$8,XLOOKUP($Q$2:$Q$8,$A$2:$A$8,C$2:C$8)=0),{1;2;3},{1,2}),"")
L2:M4L2=IFERROR(INDEX(FILTER($Q$2:$R$8,XLOOKUP($Q$2:$Q$8,$A$2:$A$8,D$2:D$8)=0),{1;2;3},{1,2}),"")
N2:O4N2=IFERROR(INDEX(FILTER($Q$2:$R$8,XLOOKUP($Q$2:$Q$8,$A$2:$A$8,E$2:E$8)=0),{1;2;3},{1,2}),"")
Dynamic array formulas.
 
Upvote 0
Peter, this has worked so many thanks for your help - much appreciated! :biggrin:
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,547
Messages
6,120,139
Members
448,948
Latest member
spamiki

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