Returning and list Value(s) - Vlookup? Index? Match? Miracle?

L

LuLu

Hi ACW,

Thanks for the response - much appreciated. I may have
messed this up though. I have missed a step perhaps, this
is what I have in my VBA module. Correct? It is giving me
errors.

Sub Tony()
Function FindStores(target As Range)
For Each ce In target
If ce.Value = "x" Then
holder = holder & Val(Left(Sheets("storesheet").Cells
(ce.Row, 1), 2)) & ","
End If
Next ce
FindStores = holder
End Function
End Sub

Thanks
Lulu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top