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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!