ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can i make a name equal a value like DZ=12, GR=144 and EA=1? (https://www.excelbanter.com/excel-discussion-misc-queries/155798-how-can-i-make-name-equal-value-like-dz%3D12-gr%3D144-ea%3D1.html)

MariSwan

How can i make a name equal a value like DZ=12, GR=144 and EA=1?
 
I'm trying to get a cell to know what his value is by putting a name. What I
really want it to do is to know if it is a Dozen by putting DZ so it will
automatically know it's 12. The same with a Gross, which is 144 and Each,
that's 1.
DZ = 12
GR = 144
EA = 1

Gary''s Student

How can i make a name equal a value like DZ=12, GR=144 and EA=1?
 
Use two cells. put the text in A1 and in B1:

=IF((A1="EA"),1,IF(A1="GR",144,12))

--
Gary''s Student - gsnu200739


"MariSwan" wrote:

I'm trying to get a cell to know what his value is by putting a name. What I
really want it to do is to know if it is a Dozen by putting DZ so it will
automatically know it's 12. The same with a Gross, which is 144 and Each,
that's 1.
DZ = 12
GR = 144
EA = 1


Arvi Laanemets

How can i make a name equal a value like DZ=12, GR=144 and EA=1?
 
Hi

Define named ranges (InsertNameDefine from menu)

DZ = 12
GR = 144
EA = 1

Now, p.e. the formula
=GR/DZ+EA
returns 13


Arvi Laanemets


"MariSwan" wrote in message
...
I'm trying to get a cell to know what his value is by putting a name. What
I
really want it to do is to know if it is a Dozen by putting DZ so it will
automatically know it's 12. The same with a Gross, which is 144 and Each,
that's 1.
DZ = 12
GR = 144
EA = 1





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com