#1   Report Post  
plfry
 
Posts: n/a
Default Formula needed

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?
  #2   Report Post  
plfry
 
Posts: n/a
Default

Ok, I saw a previous post that helped me write a formula - I now have the
letters converting to numbers. But now I need the numbers in the three new
columns to display as one number in another column, so that I can then format
that number as a dollar amount. For example, column D has a 2 in it, column
E has a 3 in it, column F has a 7 in it. I now want column H to display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?

  #3   Report Post  
Michael
 
Posts: n/a
Default

Hi
If data is in say , D1, E1 and F1, use this formula to combine them.
=D1&E1&F1

Copy down as far as you need by dragging the little black box in the bottom
right of your formula cell

Regards
Michael

"plfry" wrote:

Ok, I saw a previous post that helped me write a formula - I now have the
letters converting to numbers. But now I need the numbers in the three new
columns to display as one number in another column, so that I can then format
that number as a dollar amount. For example, column D has a 2 in it, column
E has a 3 in it, column F has a 7 in it. I now want column H to display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?

  #4   Report Post  
plfry
 
Posts: n/a
Default

Wow - that way easy - thanks - now just one more thing - it does not seem to
want to allow me to format the combined number as a dollar amount. Any ideas
for doing that?

plfry

"Michael" wrote:

Hi
If data is in say , D1, E1 and F1, use this formula to combine them.
=D1&E1&F1

Copy down as far as you need by dragging the little black box in the bottom
right of your formula cell

Regards
Michael

"plfry" wrote:

Ok, I saw a previous post that helped me write a formula - I now have the
letters converting to numbers. But now I need the numbers in the three new
columns to display as one number in another column, so that I can then format
that number as a dollar amount. For example, column D has a 2 in it, column
E has a 3 in it, column F has a 7 in it. I now want column H to display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?

  #5   Report Post  
plfry
 
Posts: n/a
Default

Wow - that was easy - thanks - now just one more thing...it does not seem to
want to allow me to format the combined number as a dollar amount - any way
to do that?

plfry

"Michael" wrote:

Hi
If data is in say , D1, E1 and F1, use this formula to combine them.
=D1&E1&F1

Copy down as far as you need by dragging the little black box in the bottom
right of your formula cell

Regards
Michael

"plfry" wrote:

Ok, I saw a previous post that helped me write a formula - I now have the
letters converting to numbers. But now I need the numbers in the three new
columns to display as one number in another column, so that I can then format
that number as a dollar amount. For example, column D has a 2 in it, column
E has a 3 in it, column F has a 7 in it. I now want column H to display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?



  #6   Report Post  
Sandy Mann
 
Posts: n/a
Default

Plfry,

In that case try

=D1+E1/10+F1/100

HTH

Sandy

--
to e-mail direct replace @mailintor.com with @tiscali.co.uk


"plfry" wrote in message
...
Wow - that was easy - thanks - now just one more thing...it does not seem

to
want to allow me to format the combined number as a dollar amount - any

way
to do that?

plfry

"Michael" wrote:

Hi
If data is in say , D1, E1 and F1, use this formula to combine them.
=D1&E1&F1

Copy down as far as you need by dragging the little black box in the

bottom
right of your formula cell

Regards
Michael

"plfry" wrote:

Ok, I saw a previous post that helped me write a formula - I now have

the
letters converting to numbers. But now I need the numbers in the

three new
columns to display as one number in another column, so that I can then

format
that number as a dollar amount. For example, column D has a 2 in it,

column
E has a 3 in it, column F has a 7 in it. I now want column H to

display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory

that she
has in our gift shop. She has one column where she records a series

of
letters that gets printed on a price tag, so the shop workers know

what the
wholesale price of an item is. For example, she may enter CHC,

which means
that the price is 2.72. What we need is some way to convert that

CHC into
2.72 in another column. The values of the letters always remain the

same,
for example, C=2, D=5, H=7, etc. Is there any way to write a

formula like IF
column A = "C", then enter a value of 2 in column G, if column A =

"D", then
enter 5, etc.?



  #7   Report Post  
plfry
 
Posts: n/a
Default

I figured it out - I had to use VALUE and then divide the value by 100 so
that 235 shows up as $2.35. Thanks!

plfry

"plfry" wrote:

Wow - that was easy - thanks - now just one more thing...it does not seem to
want to allow me to format the combined number as a dollar amount - any way
to do that?

plfry

"Michael" wrote:

Hi
If data is in say , D1, E1 and F1, use this formula to combine them.
=D1&E1&F1

Copy down as far as you need by dragging the little black box in the bottom
right of your formula cell

Regards
Michael

"plfry" wrote:

Ok, I saw a previous post that helped me write a formula - I now have the
letters converting to numbers. But now I need the numbers in the three new
columns to display as one number in another column, so that I can then format
that number as a dollar amount. For example, column D has a 2 in it, column
E has a 3 in it, column F has a 7 in it. I now want column H to display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?

  #8   Report Post  
Michael
 
Posts: n/a
Default

Glad I could help.
Another thing, if your decimal point is in the same place, you could also
use this formula instead
="$"&D1&"."&E1&F1
This would incorporate the dollar sign as well as putting a decimal point
after the first number.
Obviously the decimal point position could also become a nuisance !

Regards
Michael

"plfry" wrote:

I figured it out - I had to use VALUE and then divide the value by 100 so
that 235 shows up as $2.35. Thanks!

plfry

"plfry" wrote:

Wow - that was easy - thanks - now just one more thing...it does not seem to
want to allow me to format the combined number as a dollar amount - any way
to do that?

plfry

"Michael" wrote:

Hi
If data is in say , D1, E1 and F1, use this formula to combine them.
=D1&E1&F1

Copy down as far as you need by dragging the little black box in the bottom
right of your formula cell

Regards
Michael

"plfry" wrote:

Ok, I saw a previous post that helped me write a formula - I now have the
letters converting to numbers. But now I need the numbers in the three new
columns to display as one number in another column, so that I can then format
that number as a dollar amount. For example, column D has a 2 in it, column
E has a 3 in it, column F has a 7 in it. I now want column H to display 237,
which I can then format to show 2.37. Any ideas?

"plfry" wrote:

I have a user who has made an Excel spreadsheet to track inventory that she
has in our gift shop. She has one column where she records a series of
letters that gets printed on a price tag, so the shop workers know what the
wholesale price of an item is. For example, she may enter CHC, which means
that the price is 2.72. What we need is some way to convert that CHC into
2.72 in another column. The values of the letters always remain the same,
for example, C=2, D=5, H=7, etc. Is there any way to write a formula like IF
column A = "C", then enter a value of 2 in column G, if column A = "D", then
enter 5, etc.?

Reply
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
Help, Excel Formula Needed -- Urgent Urgent Excel Worksheet Functions 2 December 14th 04 10:32 PM
Look Up and Cell Reference - Formula Help Needed Janine Excel Worksheet Functions 1 December 14th 04 04:01 PM
Formula needed Connie Martin Excel Worksheet Functions 22 November 9th 04 03:43 PM
Complex formula help needed Jan Excel Worksheet Functions 0 November 9th 04 03:19 PM
Tricky formulas needed Myrna Larson Excel Worksheet Functions 2 October 29th 04 03:29 AM


All times are GMT +1. The time now is 12:35 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"