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
 

Some videos you may like

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

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
16,393
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:

Watch MrExcel Video

Forum statistics

Threads
1,109,331
Messages
5,528,053
Members
409,800
Latest member
camronmartin

This Week's Hot Topics

Top