Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Values of the last date

Hi, i have a sheet with tree coluns, onde for "Date", other for
"Product" and the last for "Value".
For example:

Date Product Value
01/01/09 A 100
01/02/09 B 150
01/03/09 A 120
01/04/09 B 110
01/05/09 A
10

I want to make a macro that give me the values of all produts for the
last date.

Can you help me?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Values of the last date

Bruno,

What result would you expect from your sample data and why?
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Bruno" wrote:

Hi, i have a sheet with tree coluns, onde for "Date", other for
"Product" and the last for "Value".
For example:

Date Product Value
01/01/09 A 100
01/02/09 B 150
01/03/09 A 120
01/04/09 B 110
01/05/09 A
10

I want to make a macro that give me the values of all produts for the
last date.

Can you help me?

Thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Values of the last date

On Apr 8, 9:58*am, Mike H wrote:
Bruno,

What result would you expect from your sample data and why?
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.

"Bruno" wrote:
Hi, i have a sheet with tree coluns, onde for "Date", other for
"Product" and the last for "Value".
For example:


Date * * * * * * * * * Product * * * * * * * * * * * * * * * * Value
01/01/09 * * * * * * A * * * * * * * * * * * * * * * * * * * * * * 100
01/02/09 * * * * * * B * * * * * * * * * * * * * * * * * * * * * * 150
01/03/09 * * * * * * A * * * * * * * * * * * * * * * * * * * * * * 120
01/04/09 * * * * * * B * * * * * * * * * * * * * * * * * * * * * * 110
01/05/09 * * * * * * A
10


I want to make a macro that give me the values of all produts for the
last date.


Can you help me?


Thanks
.


On Apr 8, 9:58 am, Mike H wrote:
Bruno,

What result would you expect from your sample data and why?
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.

"Bruno" wrote:
Hi, i have a sheet with tree coluns, onde for "Date", other for
"Product" and the last for "Value".
For example:


Date Product Value
01/01/09 A 100
01/02/09 B 150
01/03/09 A 120
01/04/09 B 110
01/05/09 A
10


I want to make a macro that give me the values of all produts for the
last date.


Can you help me?


Thanks
.


well Mike, i expect that the macro give me, in a new worksheet, all
products in data (A and B) and the last price with correspondent date

Result:
Date Product Value
01/05/09 A
10
01/04/09 B 110

Bruno
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
sum between date values Robbie Excel Discussion (Misc queries) 3 June 24th 09 10:00 AM
How to pro rate values by date? dj479794 Excel Discussion (Misc queries) 3 November 30th 07 12:52 AM
Change Date Values Snakeoids Excel Discussion (Misc queries) 1 November 1st 05 11:22 PM
How do I convert date values to non-date format e.g. 01-06-78? mikelenno Excel Discussion (Misc queries) 2 July 8th 05 08:51 PM
Date values Problem Subs Excel Programming 2 May 12th 05 03:46 PM


All times are GMT +1. The time now is 01:39 AM.

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

About Us

"It's about Microsoft Excel"