How to return comma separated data (already set up) and return data into separately (matched) cells

tess1975

New Member
Joined
Oct 7, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have an example sales order list in range (H2:M8), I use one row per item ordered but can sell up to 8 items on that one row. I've added a column to the list (Column M) for serial number(S) of items sold.

So now I have a list of serial numbers (A2:A32) and the column next to it (BB1:B32) is where my formula is because here i want to know which serial numbers have been used/allocated to sales orders.

I have set this up, have tried different formulas I've found which work but only when ONE serial number has been used. When more than one serial number is used, he serial numbers appear available to use. How can I split the multiple values returned (serial numbers "used") into their rightful place next to their equivalent serial number. How do I tell Excel that the multiple serial numbers in one cell are not one long reference and need to be split up and return multiple values?

Currently I've used both below formulas below and they return the same information but only when one serial number is found.

=IF(ISNA(VLOOKUP(A2,$M$2:$M$8,0,FALSE)),"-","used")
=IF(ISNUMBER(MATCH(A2,$M$2:$M$8,0)),"used","-")
 

Attachments

  • Serial Nos.png
    Serial Nos.png
    42.9 KB · Views: 12

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi & welcome to MrExcel.
Try
Excel Formula:
=if(countifs(M:M,"*"&A2&"*"),"Used","-")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,145
Members
452,615
Latest member
bogeys2birdies

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