Help with Excel

nick_taira1

New Member
Joined
Mar 6, 2012
Messages
6
With my job I need to type what seems like random numbers such as "3H23563" and I want to be able to write all my random numbers and have them automatically convert to a dollar figure. For example: 3H23563 would equal $15.25 in a different column when I type that random number into excel.
--3H23563 would be the billing code and $15.25 would be the cost of the billing-- Any help would be GREAT! :cool:
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Would that random code always equate to the same billing cost?

E.g.

3H3477 would always cost £15?
 
Upvote 0
one way like this, just simple illustration or if you can post sample much better,


Excel 2010
FGHIJ
7CodeCostCodeCost
8ax1100ax3300
9ax2200
10ax3300
11ax4400
12ax5500
13ax6600
14ax7700
Sheet2
Cell Formulas
RangeFormula
J8=VLOOKUP(I8,$F$8:$G$14,2,FALSE)
 
Upvote 0
I will try to draw it out and make sense of this project I'm trying to tackle. Pretend that this is in Excel 2007:

EXAMPLE​

Code ID Quantity Price TOTAL
A B C D E

1 H327 09 3 $7.25 $21.75


How would I get Excel to recognize item A1 (H327) having a cost of $7.25 per unit and placing it in section D1? Any info would be much appreciated again. Thank you!
 
Upvote 0
MrVillareal has already provided you with the solution.

Just enter the LOOKUP formula in column D and change the references to your lookup table and the code in column A.

Do you have a lookup table that shows all codes along with their cost values, as in MrVillareal’s example?
 
Upvote 0
<P>If you have the complete list of codes along with their costs in Excel sheet, then this is the look-up table. Otherwise, enter it.</P>
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,793
Members
451,589
Latest member
Harold14

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
Back
Top