Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to build an active personnel spreadsheet. With the individuals
names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
if I understand you correctly
=SUM(IF(B1:B100="X",1,)) should help and give you the toal of active personnel (if X's are in col B) CTRL+SHIFT+ENTER (instead of using ENTER only) this formula as this is an array formula On 11 Gru, 21:40, floyd.anderson wrote: I am trying to build an active personnel spreadsheet. With the individuals names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Thu, 11 Dec 2008 12:40:01 -0800, floyd.anderson
wrote: I am trying to build an active personnel spreadsheet. With the individuals names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. What is "X"? Is it the column "X" or is it some name that is in column "A"? What do you mean by "when I add the X to account for this individual..."? How do you "add"? Where do you "add"? Please give an example of data, before and after the "adding", and what result you expect and where you expect the result. / Lars-Åke |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
You've lost me perhaps you could post a small sample of data with the result you expect with an X in the sum range. Mike "floyd.anderson" wrote: I am trying to build an active personnel spreadsheet. With the individuals names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Say column A has names and there are some X's in column B. We want the sum
of X's assuming X has the value 17: =SUMPRODUCT(--(B1:B100="X"))*17 -- Gary''s Student - gsnu200820 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
floyd.anderson wrote:
I am trying to build an active personnel spreadsheet. With the individuals names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. To come at this another way, you can make the number 1 display as X. Use this as a custom number format: [=1]"X";0 Then you can just SUM() the range to get a total. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
this one is excellent
will remember it ;-) On 11 Gru, 22:20, Glenn wrote: floyd.anderson wrote: I am trying to build an active personnel spreadsheet. With the individuals names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. To come at this another way, you can make the number 1 display as X. *Use this as a custom number format: [=1]"X";0 Then you can just SUM() the range to get a total. |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=COUNTIF(A1:A100,"X") will count all the "X"'s
Is that what you need? Gord Dibben MS Excel MVP On Thu, 11 Dec 2008 12:40:01 -0800, floyd.anderson wrote: I am trying to build an active personnel spreadsheet. With the individuals names listed in column "A", I need to give "X" a numerical value so that when I add the X to account for this individual it will give the total active at the bottom. I know the formula for the simple addition and understand how to do that, however I can not figure out how to give a text a numerical value. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Spell check giving "formula too long" - doesn't make corrections | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
how do i write "numerical Arabic" as in word 2007 | Excel Discussion (Misc queries) | |||
TRUNCATE SPACE FROM NUMERICAL STRING eg "33Â 033Â 546" | Excel Worksheet Functions | |||
Vlookup and "-" negative numbers are giving me a #N/A | Excel Discussion (Misc queries) |