expertlypaul
New Member
- Joined
- Nov 26, 2021
- Messages
- 4
- Office Version
- 2016
- Platform
- MacOS
I have multiple spreadsheets of marketing email data where I want to identify how many times a single user has clicked a link. Each spreadsheet represents a unique email that was sent out with a clicked column. The column has one of two results, TRUE or FALSE. Here is the formula I'm using in totality.
=SUM(IF(COUNTIF('Email 1'!$A$2:$A$22,A2)>0,IF(INDEX('Email 1'!$A$2:$S$22,MATCH(A2,'Email 1'!$A$2:$A$22,0),18)="TRUE",1,0),0))
I have tested the INDEX MATCH to see if it's pulling the right value and all is well. If the referenced email exists, then it finds the TRUE or FALSE cell under the clicked column.
When I include the IF wrapper, it doesn't seem to be able to recognize the "TRUE" text string, so marks everything as false/gives it a value of zero.
I've attempted changing the clicked column formatting to "plain text," but that didn't change anything.
Any thoughts on what the issue might be?
=SUM(IF(COUNTIF('Email 1'!$A$2:$A$22,A2)>0,IF(INDEX('Email 1'!$A$2:$S$22,MATCH(A2,'Email 1'!$A$2:$A$22,0),18)="TRUE",1,0),0))
I have tested the INDEX MATCH to see if it's pulling the right value and all is well. If the referenced email exists, then it finds the TRUE or FALSE cell under the clicked column.
When I include the IF wrapper, it doesn't seem to be able to recognize the "TRUE" text string, so marks everything as false/gives it a value of zero.
I've attempted changing the clicked column formatting to "plain text," but that didn't change anything.
Any thoughts on what the issue might be?