Automatically Copying a cell from another cell but with edits
Hello,
I have 2 columns called " Location" & "Observation report Number". The Location column is a drop-down list of 4 options (WH1, WH2, JS1, JS2). I would like to have the "Observation Report Number" column to auto-populate with the location in addition to a number at the end of it. For example, If I manually enter the first row with a location of "WH1", then the "Observation Report Number" column will automatically populate with " WH1-001". The number at the end will keep on increasing automatically every time I manually select "WH1" location for the subsequent rows (WH1-002,003,etc..).
Is there a formula that would incorporate the above?
Answers
-
You would insert an auto-number column with no special formatting (called "Auto" in this example).
Then in a text/number column you would use
=Location@row + " - " + COUNTIFS(Location:Loaction, @cell = Location@row, Auto:Auto, @cell<= Auto@row)
-
It worked! Thank you very much.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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!