Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PL PL is offline
external usenet poster
 
Posts: 58
Default Help: Creating Data List and value

I need to create a unique data from a spreadsheet with the design as below:

1/1/07 2/1/07 3/1/07 ...... (date at row 1)

9am abc xyz (empty)
11am rst abc xyz
2pm xyz rst (empty)

The expected result is:

abc 2
rst 2
xyz 3

which show the unique data from the table with the number it appeards.

Thank you for your help in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Help: Creating Data List and value

Try

=Countif(B2:D4,"xyz")

or, with xyz in cell A10

=Countif(B2:D4,A10)


"PL" wrote:

I need to create a unique data from a spreadsheet with the design as below:

1/1/07 2/1/07 3/1/07 ...... (date at row 1)

9am abc xyz (empty)
11am rst abc xyz
2pm xyz rst (empty)

The expected result is:

abc 2
rst 2
xyz 3

which show the unique data from the table with the number it appeards.

Thank you for your help in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PL PL is offline
external usenet poster
 
Posts: 58
Default Help: Creating Data List and value

Hi Duke,

The table was actually consists of more than 50 items which I may not know
thru out the 3 months (1/1/07 to 31/3/07). Hence need some solution to
capture out the list of 50 items or more from the worksheet, then count out
the nos. of individual items had appeared in the table thru this 3 months.

Hope this will make clear to you.

"Duke Carey" wrote:

Try

=Countif(B2:D4,"xyz")

or, with xyz in cell A10

=Countif(B2:D4,A10)


"PL" wrote:

I need to create a unique data from a spreadsheet with the design as below:

1/1/07 2/1/07 3/1/07 ...... (date at row 1)

9am abc xyz (empty)
11am rst abc xyz
2pm xyz rst (empty)

The expected result is:

abc 2
rst 2
xyz 3

which show the unique data from the table with the number it appeards.

Thank you for your help in advance.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Help: Creating Data List and value

PL -

The issue that you run into with the data layout you have displayed is that
analysis on that data is very hard to perform. You are far, FAR better off
to structure your data like so (using your example):

Column 1 = Date
Column 2 = Time
Column 3 = value

Now you can easily generate a list of unique data items, use that list of
unique items to generate pivot tables and other reports that analyze the data.

Sometimes a manager says you just HAVE to keep things layed out the way
you've shown, but that lay out is a simple pivot table off the 3-column
structure I suggested. The analysis you want to perform here is also
possible off that structure.

If you restructure your worksheet that way, you can complete the analysis is
less than 20 seconds


"PL" wrote:

Hi Duke,

The table was actually consists of more than 50 items which I may not know
thru out the 3 months (1/1/07 to 31/3/07). Hence need some solution to
capture out the list of 50 items or more from the worksheet, then count out
the nos. of individual items had appeared in the table thru this 3 months.

Hope this will make clear to you.

"Duke Carey" wrote:

Try

=Countif(B2:D4,"xyz")

or, with xyz in cell A10

=Countif(B2:D4,A10)


"PL" wrote:

I need to create a unique data from a spreadsheet with the design as below:

1/1/07 2/1/07 3/1/07 ...... (date at row 1)

9am abc xyz (empty)
11am rst abc xyz
2pm xyz rst (empty)

The expected result is:

abc 2
rst 2
xyz 3

which show the unique data from the table with the number it appeards.

Thank you for your help in advance.

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
Creating a Data Validation List based on a Value in another cell LondonLion Excel Worksheet Functions 2 June 8th 07 12:23 AM
Creating a Detailed List from a Summary List [email protected] Excel Worksheet Functions 0 September 7th 06 12:36 AM
Creating a list (data validation) fromt wo different source ranges tony Excel Discussion (Misc queries) 1 August 1st 06 03:40 AM
Creating a summary list from source data - can you?? Marty Excel Discussion (Misc queries) 1 September 16th 05 04:12 AM
Creating a list from Table Data bry32 Excel Worksheet Functions 4 January 28th 05 07:41 PM


All times are GMT +1. The time now is 06:17 AM.

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"