Help with Formula - Look a value in a cell and if it is 1 of 4 values fill in a different cell
I'm importing data from a legacy excel sheet and the priority is designated with a 1-4 with a critical to low. I want to check that column and if it is one of the values it puts an update severity in a different column.
Since the new severity column may have values in it going forward do not want to overwrite an existing value.
Any help would be great.
Thanks,
Frank
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
Best Answer
-
I added the changes and it works great!
Thanks for the help
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
Answers
-
Are you able to provide some screenshots of what you currently have as well as some manually entered data that shows what you are trying to accomplish?
-
Here is a screen shot:
I created a "helper" column to do they check, which I may not need.
If Priority is high & Severity is blank fill in Severity with option 2.
Let me know if this helps.
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
-
Will you also be manually updating the Severity column?
-
Yes, the severity column will be updated via a new form submission.
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
-
You are going to end up having to enter the formula every time then as the form submission will override the formula which will make auto-fill not work. Setting it as a column formula means the field can't be edited in the form.
I am going to suggest another column where it says that if the form entry column is not blank, the copy, but if it is blank then fill it in.
Does that sound like an option for you?
-
Sure I'm open to suggestions.
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
-
Ok. Insert a text/number or dropdown type column.
First we want to write the nested IF that will populate based on the Priority column. I am not sure exactly what options you have in that column, so I will just use the numbers 1 - 4. You will need to edit each of the text strings in the final formula to represent what you actually have in your sheet.
=IF(Priority@row = "1", "text for if 1", IF(Priority@row = 2, "text for if 2", IF(Priority@row = "3", "text for if 3", "text for if 4")))
Now we need to write an IF that says if the [Urgency/ Severity Level] is blank, run the above, otherwise copy the [Urgency/ Severity Level] cell.
=IF([Urgency/ Severity Level]@row = "", above_formula, [Urgency/ Severity Level]@row)
=IF([Urgency/ Severity Level]@row = "", IF(Priority@row = "1", "text for if 1", IF(Priority@row = 2, "text for if 2", IF(Priority@row = "3", "text for if 3", "text for if 4"))), [Urgency/ Severity Level]@row)
-
I added the changes and it works great!
Thanks for the help
Frank Smith, PMP
Assistant Director | IT Special Projects Mgr.
Oregon Parks & Recreation Department
If my response helps, please mark it as an accepted answer. 😎
-
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
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!