#1   Report Post  
gordo
 
Posts: n/a
Default Excel help

I wonder if someone can help me.
I have a list in excel that contains the same sku more than once on a
workbook in no paticular order, however i want to bring back the last
time that this sku appeared on the workbook for example:

SKU 271562 date counted 11 september
SKU 275555 date counted 12 september
SKU 271562 date counted 12 september
sku 255212 date counted 13 september
& so on
SKU 271562 date counted 11 october

The date range is only applicable to the date counted therefore i
cannot search via a date

Can someone please help

Rgds

Gordon

  #2   Report Post  
vezerid
 
Posts: n/a
Default

Gordon,
If I have understood correctly:
1. Each line in your sample occupies a single cell.
2. All lines are of the format: SKU xxxxxx date counted dd mmmm
Therefore, the number of characters until the date starts is fixed. So
is the length of every SKU code. With these assumptions, and assuming
data are in column A:A, you will use some auxiliary columns

B1: =left(A1, 10) -- this extracts the SKU
C1: =value(mid(A1, 24, 20)) -- this extracts the date in number format.
You can format column C:C to a date format if you want.

Now, given an SKU in a cell, say K1 contains "SKU 271562":
=max(C1:C100*if(B1:B100=K1, 1, 0))

Supply the necessary ranges in the formula and enter it as an array
formula, Shift+Ctrl+Enter.

HTH
Kostis Vezerides

  #3   Report Post  
gordo
 
Posts: n/a
Default

thanks mate this worked a treat

Rgds
Gordon

  #4   Report Post  
gordo
 
Posts: n/a
Default Excel help

hi mate,
Can you help me again , i need to bring back the total qty and total
counted.
Same as above so when the date is brought back i would like the total
qty and counted qty.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 12:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"