Conditional Nested if function

dave84dd

New Member
Joined
Feb 3, 2015
Messages
16
Hello,

I have a tricky, well, I think it is tricky formula I need to write.

The idea is that any item that starts with "A" and number after "B" and numbers after "C" and numbers after "E" and numbers after or finally "K" and numbers after I would like the letter returned. Everything whatever the combination is would be ignored.

I was thinking a nested IF AND function however I haven't been able to get it to work therefore I'm reaching out to the Excel guru's of this forum.

NumberDesired resultsNotes about Results
A08071-HA
B08054B
CCA-TBA This items should be ignored
C08071C
E04534E
K40585K
HLA This items should be ignored

<colgroup><col><col><col></colgroup><tbody>
</tbody>

As always thanks for the help in advance.
 

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
Copy B2 down.
Excel Workbook
AB
1NumberResult
2A08071-HA
3B08054B
4CCA-TBA
5C08071C
6E04534E
7K40585K
8HLA
Sheet1
 
Upvote 0
Perfect! You rock! Thanks....I knew I was on the right path.....just couldn't get around the bolder blocking the road....

:)
 
Upvote 0

Forum statistics

Threads
1,215,346
Messages
6,124,417
Members
449,157
Latest member
mytux

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