LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Banned
 
Posts: 6
Default if statements

Hi SB777:

If you have your LocationNumbers are in column A, corrresponding Markets are
in column B, then with a LocationNumber in cell D4, you can compute the
corresponding Market using the following INDEX_MATCH formula ...

=INDEX(B:B,MATCH(D4+0,A:A,0))


"SB777" wrote:

I am trying to automatically categorize location numbers (plants) into
markets. For example, locations 001, 010, 872, 301 and 400 are Market
4..... and locations 210, 300, 501, 777, and 898 are Market 5 ..... and
locations 255, 755, 601, 701, and 901 are Market 6. I'd like to have the
formula automatically type "4", "5" or "6" in the "Market" column based on
the location number. So it would look like this where the market column is
filled automatically.

Location Market
001 4
755 6
777 4
901 6

I appreciate any advice that you may have. Thank you!



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
using IF THEN statements [email protected] Excel Discussion (Misc queries) 3 October 17th 06 04:52 PM
if statements kelljeff Excel Worksheet Functions 2 April 4th 06 01:34 PM
if statements, I think?? sbrimley Excel Discussion (Misc queries) 1 September 23rd 05 11:00 PM
IF/AND Statements case54321 Excel Worksheet Functions 1 June 14th 05 01:36 PM


All times are GMT +1. The time now is 09:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"