Return Previous status
@Genevieve P. or @Paul Newcome maybe you can help me with something. I have a sheet that i need to include some previous status column that i have in other sheet (probability Change log). I need that the status is the last row updated. In the sheet that i have the previous status i have the status and the "modified date" that will be the reference criteria. I already got to have in a column the last date of the item but now i need in other column show the Status (Low, High, Medium).
in the main sheet i already got a column with the last date of update using the following formula
=MAX(COLLECT({Modified}, {Opp}, [Opportunity ID]@row))
Now i need that another column collect the "probability" status on the same file (sheet) accord with the last date that i got with the previous formula,
example
From this table the return value should be the last updated that means that need to evaluate the "modified" date to see which is the last one, respect with the "Opp" column and return "probability" that in this case is "High" (in green)
Thanks in advance.
Best Answer
-
You can use an INDEX(COLLECT formula to use multiple matching criteria to bring back another cell. There's an example in this Help Article: Formula combinations for cross sheet references
In your case, the two criteria are the [Opportunity ID]@row and the Max Date you returning.
For example:
=INDEX(COLLECT({Probability Column}, {Opp}, [Opportunity ID]@row, {Modified}, [Date Column]@row), 1)
Let me know if that makes sense and works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
You can use an INDEX(COLLECT formula to use multiple matching criteria to bring back another cell. There's an example in this Help Article: Formula combinations for cross sheet references
In your case, the two criteria are the [Opportunity ID]@row and the Max Date you returning.
For example:
=INDEX(COLLECT({Probability Column}, {Opp}, [Opportunity ID]@row, {Modified}, [Date Column]@row), 1)
Let me know if that makes sense and works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!