Formula to parse data correctly without pivot table

campos1578

New Member
Joined
Jan 3, 2020
Messages
22
Office Version
  1. 365
Platform
  1. MacOS
Hey Team,

I am working on identifying 4 groups of people based on demographic data and want to be able to quickly pull locations that match the income range along with the row information as shown below:

Also is it possible to create a radial button to that can show sheet 2 data by clicking?
ABCDEFGHIJK
1LocationAverage IncomeCityStateAverage RentAverage MortgateCustomer Segment $0-$49,000Additional row information populatedCustomer Segment $50,000-$99,999Additional row information populated
2
1​
$108,634​
City1State1AR1AM1=all locations with income range above
3
2​
$64,476​
City2State2AR2AM2
4
3​
$69,827​
City3State3AR3AM3
5
4​
$71,567​
City4State4AR4AM4
6
5​
$78,763​
City5State5AR5AM5
7
7​
$72,613​
City6State6AR6AM6
8
8​
$64,444​
City7State7AR7AM7
9
9​
$58,744​
City8State8AR8AM8
10
10​
$55,995​
City9State9AR9AM9
11
11​
$59,230​
City10State10AR10AM10Sheet 2 ->More segments ->
12
12​
$77,989​
City11State11AR11AM11
13
13​
$61,778​
City12State12AR12AM12
14
14​
$60,383​
City13State13AR13AM13
15
15​
$55,867​
City14State14AR14AM14
16
16​
$57,992​
City15State15AR15AM15
17
17​
$60,678​
City16State16AR16AM16
18
18​
$51,879​
City17State17AR17AM17
19
19​
$54,253​
City18State18AR18AM18
20
20​
$66,047​
City19State19AR19AM19
21
21​
$68,186​
City20State20AR20AM20
22
22​
$63,863​
City21State21AR21AM21
23
23​
$62,101​
City22State22AR22AM22
24
24​
$175,000​
City23State23AR23AM23
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
along with the row information as shown below
You haven't actually shown any expected results, you just have a column called "Additional row information populated" which doesn't tell us much.
 
Upvote 0
Understood and below should bring clarity:
Sheet 1
ABCDEF
1​
LocationAverage IncomeCityStateAverage RentAverage Mortgate
2​
1​
$45,231​
City1State1AR1AM1
3​
2​
$108,634​
City2State2AR2AM2
4​
3​
$69,827​
City3State3AR3AM3
5​
4​
$71,567​
City4State4AR4AM4
6​
5​
$78,763​
City5State5AR5AM5
7​
7​
$72,613​
City6State6AR6AM6
8​
8​
$64,444​
City7State7AR7AM7
9​
9​
$58,744​
City8State8AR8AM8
10​
10​
$55,995​
City9State9AR9AM9
11​
11​
$59,230​
City10State10AR10AM10
12​
12​
$77,989​
City11State11AR11AM11
13​
13​
$61,778​
City12State12AR12AM12
14​
14​
$60,383​
City13State13AR13AM13
15​
15​
$55,867​
City14State14AR14AM14
16​
16​
$57,992​
City15State15AR15AM15
17​
17​
$60,678​
City16State16AR16AM16
18​
18​
$51,879​
City17State17AR17AM17
19​
19​
$54,253​
City18State18AR18AM18
20​
20​
$66,047​
City19State19AR19AM19
21​
21​
$68,186​
City20State20AR20AM20
22​
22​
$63,863​
City21State21AR21AM21
23​
23​
$62,101​
City22State22AR22AM22
24​
24​
$175,000​
City23State23AR23AM23
Sheet 2
ABCDEF
1Customer Segment 1 ($0-$49,000)
2LocationAverage IncomeCityStateAverage RentAverage Mortgate
3
1​
$45,231​
City1State1AR1AM1
4
5
6
7
8
9
10
11
12
13
14
GHIJKL
Customer Segment 2 ($50,000-$99,999)
LocationAverage IncomeCityStateAverage RentAverage Mortgate
3​
$69,827​
City3State3AR3AM3
4​
$71,567​
City4State4AR4AM4
5​
$78,763​
City5State5AR5AM5
7​
$72,613​
City6State6AR6AM6
8​
$64,444​
City7State7AR7AM7
9​
$58,744​
City8State8AR8AM8
10​
$55,995​
City9State9AR9AM9
11​
$59,230​
City10State10AR10AM10
12​
$77,989​
City11State11AR11AM11
13​
$61,778​
City12State12AR12AM12
14​
$60,383​
City13State13AR13AM13
15​
$55,867​
City14State14AR14AM14
16​
$57,992​
City15State15AR15AM15
17​
$60,678​
City16State16AR16AM16
18​
$51,879​
City17State17AR17AM17
19​
$54,253​
City18State18AR18AM18
20​
$66,047​
City19State19AR19AM19
21​
$68,186​
City20State20AR20AM20
22​
$63,863​
City21State21AR21AM21
23​
$62,101​
City22State22AR22AM22

Does that help?
 
Upvote 0
Try

Book5
ABCDEFGHIJKLMNOPQRSTUVW
11LocationAverage IncomeCityStateAverage RentAverage Mortgate0-4900050,000-99,999
22145,231City1State1AR1AM12145,231City1State1AR1AM14369827City3State3AR3AM3
332108,634City2State2AR2AM25471567City4State4AR4AM4
44369,827City3State3AR3AM36578763City5State5AR5AM5
55471,567City4State4AR4AM47772613City6State6AR6AM6
66578,763City5State5AR5AM58864444City7State7AR7AM7
77772,613City6State6AR6AM69958744City8State8AR8AM8
88864,444City7State7AR7AM7101055995City9State9AR9AM9
99958,744City8State8AR8AM8111159230City10State10AR10AM10
10101055,995City9State9AR9AM9121277989City11State11AR11AM11
11111159,230City10State10AR10AM10131361778City12State12AR12AM12
12121277,989City11State11AR11AM11141460383City13State13AR13AM13
13131361,778City12State12AR12AM12151555867City14State14AR14AM14
14141460,383City13State13AR13AM13161657992City15State15AR15AM15
15151555,867City14State14AR14AM14171760678City16State16AR16AM16
16161657,992City15State15AR15AM15181851879City17State17AR17AM17
17171760,678City16State16AR16AM16191954253City18State18AR18AM18
18181851,879City17State17AR17AM17202066047City19State19AR19AM19
19191954,253City18State18AR18AM18212168186City20State20AR20AM20
20202066,047City19State19AR19AM19222263863City21State21AR21AM21
21212168,186City20State20AR20AM20232362101City22State22AR22AM22
22222263,863City21State21AR21AM21
23232362,101City22State22AR22AM22
242424175,000City23State23AR23AM23
25
Sheet2
Cell Formulas
RangeFormula
I2:O2I2=FILTER(A2:G24,C2:C24<=49000)
Q2:W21Q2=FILTER(A2:G24,(C2:C24>=49001)*(C2:C24<=99999))
Dynamic array formulas.
 
Upvote 0
Thanks fr that.
How about
Fluff.xlsm
ABCDEFGHIJKL
1Customer Segment 1 ($0-$49,000)Customer Segment 2 ($50,000-$99,999)
2LocationAverage IncomeCityStateAverage RentAverage MortgateLocationAverage IncomeCityStateAverage RentAverage Mortgate
3145231City1State1AR1AM1369827City3State3AR3AM3
4471567City4State4AR4AM4
5578763City5State5AR5AM5
6772613City6State6AR6AM6
7864444City7State7AR7AM7
8958744City8State8AR8AM8
91055995City9State9AR9AM9
101159230City10State10AR10AM10
111277989City11State11AR11AM11
121361778City12State12AR12AM12
131460383City13State13AR13AM13
141555867City14State14AR14AM14
151657992City15State15AR15AM15
161760678City16State16AR16AM16
171851879City17State17AR17AM17
181954253City18State18AR18AM18
192066047City19State19AR19AM19
202168186City20State20AR20AM20
212263863City21State21AR21AM21
222362101City22State22AR22AM22
23
Sheet2
Cell Formulas
RangeFormula
A3:F3A3=FILTER(Sheet1!A2:F24,Sheet1!B2:B24<50000)
G3:L22G3=FILTER(Sheet1!A2:F24,(Sheet1!B2:B24>=50000)*(Sheet1!B2:B24<100000))
Dynamic array formulas.
 
Upvote 0
Thanks fr that.
How about
Fluff.xlsm
ABCDEFGHIJKL
1Customer Segment 1 ($0-$49,000)Customer Segment 2 ($50,000-$99,999)
2LocationAverage IncomeCityStateAverage RentAverage MortgateLocationAverage IncomeCityStateAverage RentAverage Mortgate
3145231City1State1AR1AM1369827City3State3AR3AM3
4471567City4State4AR4AM4
5578763City5State5AR5AM5
6772613City6State6AR6AM6
7864444City7State7AR7AM7
8958744City8State8AR8AM8
91055995City9State9AR9AM9
101159230City10State10AR10AM10
111277989City11State11AR11AM11
121361778City12State12AR12AM12
131460383City13State13AR13AM13
141555867City14State14AR14AM14
151657992City15State15AR15AM15
161760678City16State16AR16AM16
171851879City17State17AR17AM17
181954253City18State18AR18AM18
192066047City19State19AR19AM19
202168186City20State20AR20AM20
212263863City21State21AR21AM21
222362101City22State22AR22AM22
23
Sheet2
Cell Formulas
RangeFormula
A3:F3A3=FILTER(Sheet1!A2:F24,Sheet1!B2:B24<50000)
G3:L22G3=FILTER(Sheet1!A2:F24,(Sheet1!B2:B24>=50000)*(Sheet1!B2:B24<100000))
Dynamic array formulas.
You guys are seriously amazing! Thank you
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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