Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have 2 cells with asterics in them, D11 and I11. I am trying to write a
forumla using if statement =IF(D11="*",1,"") How could I combine both cells to add them if they both have *? Thanks |
#2
![]() |
|||
|
|||
![]()
one way:
=COUNTIF(D11,"~*")+COUNTIF(I11,"~*") In article , "anat" wrote: I have 2 cells with asterics in them, D11 and I11. I am trying to write a forumla using if statement =IF(D11="*",1,"") How could I combine both cells to add them if they both have *? Thanks |
#3
![]() |
|||
|
|||
![]()
Sorry I should have been more clear:
Col X should look at D and I and total the number of astericks. Col Y should total the cells without astericks. Thanks "JE McGimpsey" wrote: one way: =COUNTIF(D11,"~*")+COUNTIF(I11,"~*") In article , "anat" wrote: I have 2 cells with asterics in them, D11 and I11. I am trying to write a forumla using if statement =IF(D11="*",1,"") How could I combine both cells to add them if they both have *? Thanks |
#4
![]() |
|||
|
|||
![]()
Perhaps I'm dense, but I'm not understanding here...
Do you want to count asterisks in each row, columns D & I, putting the result in column X of that row? Or do you want to count all the asterisks in columns D & I and put that in some cell in column X? If so, how many rows should be looked at for the value that goes into the cell in column Y (i.e., cells without asterisks)? In article , "anat" wrote: Sorry I should have been more clear: Col X should look at D and I and total the number of astericks. Col Y should total the cells without astericks. |
#5
![]() |
|||
|
|||
![]()
Yes, I want to count the number of asterisks in each row (of columns D & I)
and put the result in column X of that row. And if it has no asterisks count the blanks and put the results in Col Y since the asterisks represents a type of an employee. Thanks "JE McGimpsey" wrote: Perhaps I'm dense, but I'm not understanding here... Do you want to count asterisks in each row, columns D & I, putting the result in column X of that row? Or do you want to count all the asterisks in columns D & I and put that in some cell in column X? If so, how many rows should be looked at for the value that goes into the cell in column Y (i.e., cells without asterisks)? In article , "anat" wrote: Sorry I should have been more clear: Col X should look at D and I and total the number of astericks. Col Y should total the cells without astericks. |
#6
![]() |
|||
|
|||
![]()
One way:
X1: =(D1="*")+(I1="*") Y1: =2-X1 Select X1 and Y1 and copy down as far as necessary. In article , "anat" wrote: Yes, I want to count the number of asterisks in each row (of columns D & I) and put the result in column X of that row. And if it has no asterisks count the blanks and put the results in Col Y since the asterisks represents a type of an employee. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 If Statements between 2 values Q | Excel Worksheet Functions | |||
4 different if statements, not working | Excel Worksheet Functions | |||
Macro to find and delete all FALSE statements | Excel Discussion (Misc queries) | |||
Unresolved Errors in IF Statements - Errors do not show in results | Excel Worksheet Functions | |||
If statements | Excel Worksheet Functions |