Chris d'Alchemi
New Member
- Joined
- Mar 22, 2010
- Messages
- 2
Hello,
Excel 2003 formula question, sorry if this has been asked earlier, but I haven't been able to find a match to my question.
I'm working from a string of many different elements and trying to find a match with another string of many different elements. If there is a matching element between the two, generate a preset number. Here goes the example, each list is one cell:
I can see what I want to do in my head but can't visualize the formula clearly enough. I would think it should look similar to =if(search({client_string_list, billing_string_list}),fee)) except I'll have to stick in wildcards everywhere.
There are many clients, each with a different list of things they want, and a list of possible tests, each with a series of components and fee. I've got my columns named and now I just need an approach.
Ideally, I would also have a lookup function in a combo box, so I could prepare a list of fees for each test by dropping in the particular client, but I'd like to solve the above first!
Thanks in advance
Excel 2003 formula question, sorry if this has been asked earlier, but I haven't been able to find a match to my question.
I'm working from a string of many different elements and trying to find a match with another string of many different elements. If there is a matching element between the two, generate a preset number. Here goes the example, each list is one cell:
Client string list: Al, Cr, Zn, TSS, Oil and Grease, pH, Cyanide
Billing string list: Ag, Al, As, B, Ba, Be, Cd, Co, Cr, Cu, Fe, Hg, Mn, Mo, Ni, Pb, Se, Sn, Sr, Ti, V, Zn
Here's the idea: If any element within the client string list matches up with the billing string list, charge them $$$. So I would get a hit on "Al" since that appears in both strings. I'd also get hits for Cr and Zn, but it'd be unkind to triple charge our customers.Billing string list: Ag, Al, As, B, Ba, Be, Cd, Co, Cr, Cu, Fe, Hg, Mn, Mo, Ni, Pb, Se, Sn, Sr, Ti, V, Zn
I can see what I want to do in my head but can't visualize the formula clearly enough. I would think it should look similar to =if(search({client_string_list, billing_string_list}),fee)) except I'll have to stick in wildcards everywhere.
There are many clients, each with a different list of things they want, and a list of possible tests, each with a series of components and fee. I've got my columns named and now I just need an approach.
Ideally, I would also have a lookup function in a combo box, so I could prepare a list of fees for each test by dropping in the particular client, but I'd like to solve the above first!
Thanks in advance