I need to put "search exactly" in my formula, which works fine, as per this =SUMIFS(N:N,J:J,59,AE:AE,"31/07/2022",D:D,"Internal")
However one of the fields I need to report on is "Retail AG" and if I do =SUMIFS(N:N,J:J,59,AE:AE,"31/07/2022",D:D,"Retail AG") it gives me zero, which I am pretty sure is down to the space in the "Retail AG"- how can I make it read this info?
NB- I do not have the master data to change the name of the cell to not include a space.
Hi Ross.
Am Wed, 17 Aug 2022 08:14:54 -0700 (PDT) schrieb Ross Dennis:
I need to put "search exactly" in my formula, which works fine, as per this =SUMIFS(N:N,J:J,59,AE:AE,"31/07/2022",D:D,"Internal")I guess you have leading or trailing spaces in column D.
However one of the fields I need to report on is "Retail AG" and if I do =SUMIFS(N:N,J:J,59,AE:AE,"31/07/2022",D:D,"Retail AG") it gives me zero, which I am pretty sure is down to the space in the "Retail AG"- how can I make it read this info?
NB- I do not have the master data to change the name of the cell to not include a space.
Try:
=SUMPRODUCT(N:N*(J:J=59)*(AE:AE=DATE(2022,7,31))*(TRIM(D:D)="Retail AG"))
RegardsAlas, this gives me a #VALUE error. Any other suggestions welcomed :)
Claus B.
--
Windows10
Microsoft 365 for business
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 486 |
Nodes: | 16 (2 / 14) |
Uptime: | 141:54:21 |
Calls: | 9,658 |
Calls today: | 6 |
Files: | 13,708 |
Messages: | 6,167,532 |