Lookup Help

Warn

New Member
Joined
Jan 8, 2007
Messages
4
Helped her with one vlookup problem but these last two stumped me.

Add a column that shows if a ZIP code has a high population of children and a low number of competitors. High child population is anything greater than or equal to 30% of children population over total population. Low competitors is if a ZIP code has less than or equal to two competitors.

Add a column that shows what ZIP codes would qualify as being potential locations for a new store. A potential location is any ZIP code that has high children and low competition, or an average household income greater than $50,000. However, a ZIP code cannot be considered for a new store if it has more than five competitors.

Any help would be appreciated.....
Excel Workbook
ABCDEFG
2Zip CodeCitySTPopulationChild Population Age 0-14Avg Household IncomeNumber of Competitors
302138CambridgeMA19987688225$ 62,096.334
402777SwanseaMA38357070560$ 47,030.327
506385WaterfordCT22226156806$ 52,744.963
Potential Locations
Excel 2010
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Dryver14

Well-known Member
Joined
Mar 22, 2010
Messages
2,396
Try This in H3

=IF(G3>5,"No",IF(F3<50000,"No",IF((E3/D3)*100>29,"Yes","No")))
 

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
17,024
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Hi,

If i understood correctly you want two new columns

First
Add a column that shows if a ZIP code has a high population of children and a low number of competitors. High child population is anything greater than or equal to 30% of children population over total population. Low competitors is if a ZIP code has less than or equal to two competitors

Formula
=IF(AND(E3/D3>=0.3,G3<=2),"YES","NO")

Second
Add a column that shows what ZIP codes would qualify as being potential locations for a new store. A potential location is any ZIP code that has high children and low competition, or an average household income greater than $50,000. However, a ZIP code cannot be considered for a new store if it has more than five competitors.

Formula
=IF(OR(AND(E3/D3>=0.3,G3<=2),AND(F3>50000,G3 <= 5)),"YES","NO")

HTH

M.
 
Last edited:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,303
Messages
5,836,526
Members
430,437
Latest member
Emilycr

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
Top