Not even sure where to start or search. Did this ever match that?

type88

New Member
Joined
Sep 30, 2005
Messages
33
Hey guys, you have been a big help to me in the past but I usually know where to begin explaining myself. I will try, and I hope it makes sense.

The real life situation is like this:
I have a spreadsheet that lists each and every item sold, and it includes the customer information. The items are not really important, but the guest information is.

A: Customer Number
B: Purchasing Method (online, storefront, mail order) these are listed as 2A, 2B, 2C

Because we want to measure how much of our online business came from us via customers that originally shopped in our storefront, I would like to create a column C which answers the question:

<i>Was this customer ever a storefront customer?</i>

The formula would of course have to search down the list for the customer number in column A and determine if the value in column B was ever "2B".

Thank you for your help and sharing.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi
I might be missing something, but couldn't you simply use in "C"
Code:
=IF(B1="2B", "Y","")
and copy down ?
 
Upvote 0
sheetspread: this worked like a charm. with 40k plus rows it is a bit slow, but it gets the job done nicely, thank you very much. now i have another function to investigate, SUMPRODUCT.

michael m: you were missing something, though i appreciate your input none-the-less. what i need to determine is if the value in B was ever 2B for a given customer.

thanks a million.
 
Upvote 0
You've really hit the threshold using Excel as a database (like so many others who just want to "jump in" rather than spend time learning another program). I suggest MS Access.
 
Upvote 0
You could autofilter the second column for 2B, or use a pivot table.
 
Upvote 0
I realize that I am pushing excel to the limit, but the document is automatically created from the sales program that we use. No doubt it will grow even more as this only represents 5 months of sales.

It will only ever be used to perform this math after which time it will get dumped into a BI program (Tableau).

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,147
Members
452,891
Latest member
JUSTOUTOFMYREACH

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