A = abc

punit83

Board Regular
Joined
Jan 17, 2018
Messages
84
Office Version
  1. 2019
Platform
  1. Windows
Hello

i want a formula for follwing
if in cell A1 i type I = than in B1 answer should be display myself
if in cell A2 i type u = than in B2 answer should be display yourself


Thanks in advance
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
In B1 put =IF(A1="I","myself","")
& in B2 put =IF(A2="u","yourself","")
 
Upvote 0
thanks for reply

and if i want a formula for follwing
if in cell A1 i type I = than in B1 answer should be display myself
if in cell A1 i type u = than in B1 answer should be display yourself
 
Upvote 0
Hi,

I think this is what you mean:


Book1
AB
1iMyself
2uYourself
3
4s
5IMyself
6UYourself
Sheet31
Cell Formulas
RangeFormula
B1=IF(A1="I","Myself",IF(A1="U","Yourself",""))
 
Last edited:
Upvote 0
thanks for reply

and if i want a formula for follwing
if in cell A1 i type I = than in B1 answer should be display myself
if in cell A1 i type u = than in B1 answer should be display yourself

Put this formula in cell B1...

=IF(A1="I","myself",IF(A1="u","yourself",""))
 
Upvote 0
Solution
Thank you, yeah formula worked for me and yes it is what i wanted.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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