![]() |
#1
|
|||
|
|||
![]()
I have a name column and the several columns with Yes in those fields. I want to calculate the number of Yes for each name. I have inserted the data in a table. I created a sumif column for the total. I am going to be added in new columns. As I add in the columns I want that column to be included in the total. How do I get the added column in the table to be added in the total?
|
#2
|
||||
|
||||
![]()
Perhaps try =COUNTIF(C2:INDEX(2:2,MATCH(REPT("Z",255),2:2)),"Y es")
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
|||
|
|||
![]()
When you add a column, the formula in A2, which is now =countif(c2:g2,"Yes"), changes automaticly in =countif(c2:h2,"Yes") .
The underlying cells in column A change accordingly. |
#4
|
|||
|
|||
![]()
Thank you.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sumif within VBA | Lee-Ann | Excel Programming | 6 | 09-28-2017 07:38 AM |
![]() |
Lluewhyn | Excel | 6 | 02-17-2017 10:48 AM |
Another SUMIF | OTPM | Excel | 6 | 06-06-2016 03:00 AM |
VBA sumif | Nisio07 | Excel Programming | 0 | 02-26-2016 07:53 AM |
![]() |
jennamae | Excel | 4 | 01-17-2014 05:10 AM |