danhenshy23
New Member
- Joined
- Oct 3, 2016
- Messages
- 38
- Office Version
- 2019
- Platform
- Windows
I am wanting to achieve a countif which will refer to a different cell to decide which column to count.
Example:
I have data in 8 different Columns, labelled 1-8. I want to count the pieces of information in each column using countifs, however this will depend on the value in A1. (i.e. if I type 1 in A1 I want to to count column 1, if I type 2 it will count Column 2 etc etc.
Is there a way I can achieve this without a very long multiple IF formula?
Thanks
Dan
Example:
I have data in 8 different Columns, labelled 1-8. I want to count the pieces of information in each column using countifs, however this will depend on the value in A1. (i.e. if I type 1 in A1 I want to to count column 1, if I type 2 it will count Column 2 etc etc.
Is there a way I can achieve this without a very long multiple IF formula?
Thanks
Dan