two numbers to one cell

johnny52

Active Member
Joined
Oct 13, 2006
Messages
333
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
Let's say I have two numbers in cell A1 (1,1A )

is there a way to construct a formula in B1 something like this =if(a1="1A",if(a1=1,1,""))

unfortunately they have to stay in the same cell.........the cell is used in other parts of a bigger worksheet.

Thanks everybody
 
Hey Rick,yours worked....the other one didn't work for me
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Thanks Dante....I was able to use this one

=IF(AND(ISNUMBER(SEARCH(","&"1"&",",","&A1&",")),ISNUMBER(SEARCH(","&"1A"&",",","&A1&","))),1,"")
 
Upvote 0
Thanks Dante....I was able to use this one

=IF(AND(ISNUMBER(SEARCH(","&"1"&",",","&A1&",")),ISNUMBER(SEARCH(","&"1A"&",",","&A1&","))),1,"")

The formula that I put works for me, maybe if you put exactly what data contains cell A1, I can fix it.

If you have 1, A1 the formula works
 
Upvote 0
About this:

Would you mind if I ask you another question I'm having an issue with a vlookup formula that is only returning the first value....I think and index match might work


Do you want to obtain several results or a particular result?
Explain with examples what you have and what you expect results.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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