Auto Populate

OKCIrish

New Member
Joined
Dec 3, 2022
Messages
32
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I've been all over the internet looking for formulas to try and make a cell auto populate depending on two cells text. I am trying to have column X populate with RPR when certain texts are selected from column K & T (basically all the text in the attached picture except OK, OK-FR, UND, STS). Column X was supposed to have data validation attached to it with drop down of OK, OK-HB, RPR & DBR but I disabled it because when I found simple formulas to work with it, it wouldn't return the value due to the data validation. Does anyone know of a way to solve this? I could use the simple formula I came up with but it would be a long string of formulas.
Capture1.PNG

List.PNG
 
Excel Formula:
=IF(OR(K52="",T52=""),"",IF(AND(K52="ok",T52="ok"),"ok","rpr"))

The first section makes X blank if either K or T is blank. Otherwise if checks if both are "ok" (yields "ok"), else "rpr".
What would I have to do in order to add another parameter to this formula? I would like add OK-FR and if it also yields that than OK as well. I've tried adding it to the string and using more and/or functions and don't get the proper results.
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top