Column formula - for increasing same value in array
Hi, I would like to see if it is possible to change the below FirstInstance formula into a column formula as I am using Data Shuttle to import new/revised data into the grid.
FirstInstance Formula: =COUNTIF([Request Id]$1:[Request Id]1, [Request Id]1 = [Request Id]@row) + 0
DaystoClose2 col Formula: =IF(FirstInstance@row = 1, [Status Date]@row - [Request Date]@row)
Best Answer
-
Hi,
Try adding an autonumbering column. Use it to determine the newest entry using the formula:
=IF([Auto Num]@row=MIN(COLLECT([Auto Num]:[auto num], [request ID]:[request ID], [request ID]@row)), 1, 0)
The 1st instance will have the lowest autonumber and will return a 1 in the first instance column.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi,
Try adding an autonumbering column. Use it to determine the newest entry using the formula:
=IF([Auto Num]@row=MIN(COLLECT([Auto Num]:[auto num], [request ID]:[request ID], [request ID]@row)), 1, 0)
The 1st instance will have the lowest autonumber and will return a 1 in the first instance column.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Mark,
Thank you! That worked perfectly.
Paul
-
Excellent. Glad you found a solution. Thank you for contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 436 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!