Formula that adds rows due to multiple qualifying responses.

RodneyC

Active Member
Joined
Nov 4, 2021
Messages
278
Office Version
  1. 2016
Platform
  1. Windows
Asking for two formulas here to give the overall picture/goal. If that’s against policy, I’ll repost as two posts.

First, in column B of my destination tab, I need a formula that will look in Revenue!S4:S9000 (I’d prefer to use S:S) for any value greater than 10,000. If I filter that column and show only those with values greater than 10,000 I see there are 15. In this case that means B1:B15 is being populated with the corresponding value greater than 10,000. One row for every value greater than 10,000, one row for every qualified response

Secondarily, lets say the value in RevenueS37 is 10,390. It will show up in column B because of the formula above I need. I then need a formula in column A that says “Oh look, Revenue!S37 is greater than 10,000. Show me what the value in Revenue!C37 is.

Thanks in advance
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try:

Book1
ABCRS
1c10123
2g11789
3i12345
4  a1
5  b2
6  c10123
7  d4
8  e5
9  f6
10  g11789
11  h3344
12  i12345
13  
Revenue
Cell Formulas
RangeFormula
A1:A13A1=IFERROR(INDEX(Revenue!C:C,AGGREGATE(15,6,ROW(Revenue!S$4:S$9000)/(Revenue!S$4:S$9000>=10000),ROWS($B$1:$B1))),"")
B1:B13B1=IFERROR(INDEX(Revenue!S:S,AGGREGATE(15,6,ROW(Revenue!S$4:S$9000)/(Revenue!S$4:S$9000>=10000),ROWS($B$1:$B1))),"")


Change the ranges, with the appropriate sheet name, to match your workbook.
 
Upvote 0
Try:

Book1
ABCRS
1c10123
2g11789
3i12345
4  a1
5  b2
6  c10123
7  d4
8  e5
9  f6
10  g11789
11  h3344
12  i12345
13  
Revenue
Cell Formulas
RangeFormula
A1:A13A1=IFERROR(INDEX(Revenue!C:C,AGGREGATE(15,6,ROW(Revenue!S$4:S$9000)/(Revenue!S$4:S$9000>=10000),ROWS($B$1:$B1))),"")
B1:B13B1=IFERROR(INDEX(Revenue!S:S,AGGREGATE(15,6,ROW(Revenue!S$4:S$9000)/(Revenue!S$4:S$9000>=10000),ROWS($B$1:$B1))),"")


Change the ranges, with the appropriate sheet name, to match your workbook.
Thank you very much
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,188
Members
448,554
Latest member
Gleisner2

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