Formula Help
Hello,
I am trying to fix a formula that only partially works. Any help would be greatly appreciated.
I have one column, labeled Account# with various drop-down options, multi-select.
I have a second column labeled Multiple Accounts that is a checkbox column indicating when 2 or more accounts have been selected in the Account# column.
In a third column, labeled Allocation, I am trying to use the following formula:
=IF(CONTAINS("1012127330", [Account#]@row), IF(AND([Multiple Accounts]@row = "1"), ([GRAND TOTAL]@row * 0.134), ([GRAND TOTAL]@row)))
Syntax-wise this works; however, I am only getting the GRAND TOTAL at row calculation each time, regardless of whether Multiple accounts is checked or not.
My goal is that when account # "1012127330" is selected AND another account # is also selected, the grand total should be multiplied by 0.134; otherwise, when ONLY the 1012127330 is selected, then the GRAND TOTAL should show.
Best Answer
-
Try this:
=IF(HAS([Account#]@row, "1012127330"), IF(COUNTM([Account#]@row) = 1, [Grand Total]@row, [Grand Total]@row * 0.134))
Answers
-
Try this:
=IF(HAS([Account#]@row, "1012127330"), IF(COUNTM([Account#]@row) = 1, [Grand Total]@row, [Grand Total]@row * 0.134))
-
That did the trick! THANK YOU!!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!