LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toon
 
Posts: n/a
Default Differentiating data by year into columns


I currently have 3 columns in my spreadsheet, that pulls information
from a data dump I get from a database. The 3 columns are based on
years (2006, 2005, 2004). I have them setup as

2004 2005 2006
=Now()-730 =Now()-365 =Now()

so that they dynamically change when the year changes. Below them the
rows contain the information I want displayed by year. However, the
date column in the data dump I get gives dates formatted like this:
2005-09
I have a dsum that looks at a different column, and sums based on
country, but in order to make sure that the values appear based on the
year in the date column, how would I set that up? I obviously need to
be able to look at only the first 4 characters in the date fields
values, but how? Plus, it needs to look at the year in the column
header, and only give the values related to that year from the date
column in the data dump.

Any and all help is greatly appreciated!


--
Toon
------------------------------------------------------------------------
Toon's Profile: http://www.excelforum.com/member.php...o&userid=31337
View this thread: http://www.excelforum.com/showthread...hreadid=515421

 
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
how do I lookup data based on two columns of data bttreadwell Excel Worksheet Functions 2 November 19th 05 03:54 AM
how to split data into columns and arrange the resulting data jack Excel Discussion (Misc queries) 1 November 11th 05 11:20 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Text to Columns / Importing Data John Thomson Excel Discussion (Misc queries) 0 May 4th 05 08:21 PM
How do i copy columns of data in notepad into microsoft excel? Jason Excel Discussion (Misc queries) 3 February 12th 05 02:04 AM


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