Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Serach for numbers starting with for example 49****???

Hi all,

i have a small problem. And it follows like this:

I create a new workbook, wich will contain a couple of charts based
upon data from 10 other workbooks.

I need to search two columns for 2 things. one should search for a
month, and then count all numbers in the other column, within that
month wich starts with 49!!

Example:

A b
4900 Jan
3800 Jan
4901 Feb
4911 Feb
2000 Feb

So the code should in this case display:
Jan Feb
1 2

How do I this???

Would appreciate any help, Daniel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default Serach for numbers starting with for example 49****???

Hi Daniel,

first you need to create a table that contains the data you really need. In
your case add column c with the formula
=left(a2, 2)
which will give you 49, 38, 49....

Then you make out of your table a Pivot-Table with colum c in rows, colum b
in columns and number of records (any columns from a, b, c you like) as the
value.

you'll get a table like this:

jan feb
38 1 1
49 3 2
etc.

You can then make some finetuning:
- show in column c only what you want to see, or
- hide unwanted data in the pivot table.

regards

arno


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Serach for numbers starting with for example 49****???

Thanks, it solved the whole thing!!!

Daniel Karlsson


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
serach of dat M.K[_2_] Excel Discussion (Misc queries) 1 March 17th 09 01:31 PM
numbers starting with 0 mccomb Excel Worksheet Functions 5 October 20th 08 03:45 PM
Store numbers starting with zero as 2 digit numbers twisted1825 Excel Discussion (Misc queries) 8 January 11th 07 06:41 PM
How do I quadruple numbers starting with 1, 2? frenchy Excel Discussion (Misc queries) 10 September 16th 06 11:11 PM
how can i move the starting point for the numbers numbers down. Gold9er Setting up and Configuration of Excel 1 November 22nd 05 10:09 PM


All times are GMT +1. The time now is 06:20 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"