Defined Names

Ben51

New Member
Joined
Feb 29, 2016
Messages
14
Hi Guys,


I have a dropdown menu from which i choose pay codes like ISPD, PEM, and DEG.
I have defined these names with the appropriate values 77, 20 and 44 respectively.

when i try to multiply the paycode (ISPD) with the number of hours (3)
in the format below (so that the drop down list can be utilised)

=Product (F7,G7)

it returns 3 rather than 231




Thanks

Ben
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
You say you have defined ISPD as 77, but how did you do that? Excel multiplies 1, since ISPD is the first value in the list, with 3.
 
Upvote 0
Hi Noodleski,

thanks for the reply,


I defined it in Formulas, Name Manager

I actually have many more in the dropdown list, it is the 20th value.

Thanks Ben
 
Upvote 0
I actually have many more in the dropdown list, it is the 20th value.

Hi, presumably you already have a list of the codes somewhere in the workbook, why don't you add a column to this and put the values there instead of using named ranges.

You could then do something like this:


Excel 2013
ABCDEFGH
1CodeValue
2ISPD77
3PEM20
4DEG44
5
6
7PEM360
Sheet2
Cell Formulas
RangeFormula
H7=VLOOKUP(F7,$A$1:$B$4,2,0)*G7
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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