Determining the correct income distribution based on several different ranges

dmabs21

New Member
Joined
Feb 17, 2016
Messages
1
Hi,

My problem is calculating the correct income range based on several other income ranges. The solution is listed in the all units row. I need a formula that will return the correct scenario. I find the figuring out the gaps is the biggest problem that I am having. My attempts have mostly missed a gap between 29000 and 32000.

There are up to 5 income ranges, that may either overlap or not at a given time. I provided an example below that shows two gaps, between the first range and the second range and the second range and the third range. I would like the answer to be based only the min and max columns. If there is an overlap, it should not double count. For example if the first range was 19000-28000 and the second range was 27000-32000, then the correct answer in the all units column for the 20000-29999 row would be 9999. The other problem is that in later rows its not an even distribution and it goes up from 9999 to 14999, 24999, and 49999.



[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Income cohort[/TD]
[TD]All units[/TD]
[TD][/TD]
[TD][/TD]
[TD]Range[/TD]
[TD]Min[/TD]
[TD]Max[/TD]
[/TR]
[TR]
[TD]0-9999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]-[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]10000-19999[/TD]
[TD]999[/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD]19000[/TD]
[TD]26000[/TD]
[/TR]
[TR]
[TD]20000-29999[/TD]
[TD]8000[/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[TD]27000[/TD]
[TD]29000[/TD]
[/TR]
[TR]
[TD]30000-39999[/TD]
[TD]7999[/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[TD]32000[/TD]
[TD]44000[/TD]
[/TR]
[TR]
[TD]40000-49999[/TD]
[TD]4000[/TD]
[TD][/TD]
[TD][/TD]
[TD]5[/TD]
[TD]-[/TD]
[TD]-[/TD]
[/TR]
[TR]
[TD]50000-59999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]60000-74999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]75000-99999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]100000-124999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]125000-149999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]150000-199999[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]200000+[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Thanks for the help in advance!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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