Look up

kaldag

New Member
Joined
Jun 4, 2002
Messages
15
I have column A that has values of 5,8,9,10,24 and I would like to have another column that shows if 5 is in column A then put a letter P in column B and if the value in A is 24 put a letter P in column B. I have been trying to use the vlookup function but don't quite sure why not working. I have three letters I need to use in column B.

Thanks

Ken
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
On 2002-09-27 13:40, kaldag wrote:
I have column A that has values of 5,8,9,10,24 and I would like to have another column that shows if 5 is in column A then put a letter P in column B and if the value in A is 24 put a letter P in column B. I have been trying to use the vlookup function but don't quite sure why not working. I have three letters I need to use in column B.

Thanks

Ken

In B2 enter & copy down:

=IF(OR(A2={5,24}),"P","")

Is this what you're looking for?
 
Upvote 0
place the following formula in B1, and copy it down to your last row of data:

=IF(OR(A1=5,A1=24)=TRUE,"P","")

is this what you are trying to do?

kevin
 
Upvote 0

Forum statistics

Threads
1,214,790
Messages
6,121,608
Members
449,038
Latest member
apwr

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