Autofill predifened values help !

ak803

New Member
Joined
Mar 5, 2020
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
Hello,

I want to fill cell e1 with value "GOLD" when I fill cell a1 with value "GL"
Similarly if I fill a2 with value "SL" I want the cell e2 to be filled with value "SILVER"

I WANT TO FILL A COLUMN CELLS WITH SOME PREDIFENED VALUES AND I WANT CELLS IN E CLOUMN TO GET FILLED WITH ASSOCIATED VALUES

PLEASE HELP HOW TO DO IT ?
 

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
=IF(A1="GL","GOLD","") & IF(A1="SL","SILVER","")

1583470335284.png
 
Upvote 0
Thx sir
But what if I fill A1 with “sl” I want e1 to be
“Silver”
 
Upvote 0
If your only two options are Silver and Gold then.

=IF(A1="GL","GOLD", IF(A1="SL","SILVER","") )

If you intend to have more values than Silver and Gold; you will want to set up a VLookup.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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