LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
mike
 
Posts: n/a
Default looking to assign different numbers in column B to different words in column A

Hi,

I am having a fairly simple issue but can't figure it out. Please see
example.


A B
food
food
food
food
drink
drink
drink
drink
fruit
fruit
fruit
fruit

In B column I am looking for a formula which I can drag down, that
will assign a 5 for food a 10 for drink and 15 for fruit so at the end
it will look something like this:

A B
food 5
food 5
food 5
drink 10
drink 10
drink 10
fruit 15
fruit 15
fruit 15

I pretty much want to tell it that if A is fruit then B should be 5,
if A is drink then B should be 10 and if A is fruit then B should be
15. I would like to have all that in the same formula. Now obviously
my situation is more complicated than this so other advice than what
Im asking for may not work for me.

Please help

Mike
 
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
no row numbers or column letters DISPLAYED RagDyer Excel Discussion (Misc queries) 4 April 24th 23 03:42 AM
How do I convert numbers into words in excell worksheet? Surendra Excel Worksheet Functions 1 December 31st 04 12:17 PM
Words > Numbers (i.e. Vanity Phone Numbers) function Don Excel Worksheet Functions 1 December 29th 04 06:10 PM
How do I split a column having numbers and text in a random order rana8689 Excel Worksheet Functions 2 December 17th 04 09:14 PM
Average/Min column of numbers, but skip 0's and Null's in the form JT Excel Worksheet Functions 1 November 4th 04 03:25 PM


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

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

About Us

"It's about Microsoft Excel"