Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Help with Formula to organize information / date fields

Hi, I'm hoping you can help me with a problem. At work I work with a
database of information ( the database is locked, so I can't just add a
report for the info that I need..)

What I have is a list of information - with names, roles, and years. What I
would like to do is find an easy way to have the date information in multiple
columns so we don't print off a new line for each person.

Existing Data

Col A Col B Col C

Laura 2006 Job 1
Laura 2007 Job 1
Bob 2006 Job 2
Bob 2006 Job 1
Bob 2007 Job 1


Ideally I'd like the data displayed as follows (but with years going up to
2009).

Name 2006 Job 1 2006 Job 2 2007 Job 1
2007 Job 2

Laura X
X
Bob X X
X


Any suggestions or tips on how to do this? In my list of data there are
some names repeated up to 30 times, if htat helps.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Help with Formula to organize information / date fields

You may be able to use a pivottable.

Add headers to your data if you don't have them already.

In xl2003 menus:
Select the range (A1:c###)
Data|pivottable
Follow the wizard until you get to a step with Layout on it.
Click that Layout button

Drag ColA header to the row area
Drag ColB header to the Column Area
Drag ColC header to the column area
Drag ColC header to the data area (yep, again)
If it doesn't say Count of ColC, then double click on that icon and change it to
Count.

And finish up the wizard.

Because you have two fields in the column header, you'll see a subtotal for each
field.

If you don't like that, you can hide the ColB subtotals.
Rightclick on any of the 2006 in the column headings and choose field settings.
Change the subtotals to none.

I sometimes just weasel out and add a new field (column D) that combines my two
fields into one:

=B2&"."&c2
(and drag down)

Then add the header in row 1 and use that in the Column area and data area.


LauraM wrote:

Hi, I'm hoping you can help me with a problem. At work I work with a
database of information ( the database is locked, so I can't just add a
report for the info that I need..)

What I have is a list of information - with names, roles, and years. What I
would like to do is find an easy way to have the date information in multiple
columns so we don't print off a new line for each person.

Existing Data

Col A Col B Col C

Laura 2006 Job 1
Laura 2007 Job 1
Bob 2006 Job 2
Bob 2006 Job 1
Bob 2007 Job 1

Ideally I'd like the data displayed as follows (but with years going up to
2009).

Name 2006 Job 1 2006 Job 2 2007 Job 1
2007 Job 2

Laura X
X
Bob X X
X

Any suggestions or tips on how to do this? In my list of data there are
some names repeated up to 30 times, if htat helps.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Help with Formula to organize information / date fields

ps. The pivottable will show a count -- not X's. But that's usually ok for me.

If I want X's, I'll copy|paste special|values (so the pivottable is gone and
it's just data). Then I'll select that range and change the numbers to X's.



LauraM wrote:

Hi, I'm hoping you can help me with a problem. At work I work with a
database of information ( the database is locked, so I can't just add a
report for the info that I need..)

What I have is a list of information - with names, roles, and years. What I
would like to do is find an easy way to have the date information in multiple
columns so we don't print off a new line for each person.

Existing Data

Col A Col B Col C

Laura 2006 Job 1
Laura 2007 Job 1
Bob 2006 Job 2
Bob 2006 Job 1
Bob 2007 Job 1

Ideally I'd like the data displayed as follows (but with years going up to
2009).

Name 2006 Job 1 2006 Job 2 2007 Job 1
2007 Job 2

Laura X
X
Bob X X
X

Any suggestions or tips on how to do this? In my list of data there are
some names repeated up to 30 times, if htat helps.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 135
Default Help with Formula to organize information / date fields

Laura -

You can use a pivot table to do this. Since you want the column headers to
be a concatenation of the year and role, you will want to add a column to
your data that does that (e.g. cell D2 would be =B2 & " " & C2). You will
want column headers in your data such as A1 = Name, B1 = Year, C1 = Role, D1
= Year Role.

Then use the pivot table wizard to select the entire range you want,
(including the headers). Put the 'Name' in the row section, and the 'Year
Role' in both the column section and the data section. This should default
to Count, which will show you a '1' instead of the 'X' in your example, but
the same data. You can turn off the totals column and row if you don't want
to see them.

Hope that helps!
--
Daryl S


"LauraM" wrote:

Hi, I'm hoping you can help me with a problem. At work I work with a
database of information ( the database is locked, so I can't just add a
report for the info that I need..)

What I have is a list of information - with names, roles, and years. What I
would like to do is find an easy way to have the date information in multiple
columns so we don't print off a new line for each person.

Existing Data

Col A Col B Col C

Laura 2006 Job 1
Laura 2007 Job 1
Bob 2006 Job 2
Bob 2006 Job 1
Bob 2007 Job 1


Ideally I'd like the data displayed as follows (but with years going up to
2009).

Name 2006 Job 1 2006 Job 2 2007 Job 1
2007 Job 2

Laura X
X
Bob X X
X


Any suggestions or tips on how to do this? In my list of data there are
some names repeated up to 30 times, if htat helps.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 269
Default Help with Formula to organize information / date fields

If you rearrage your headers slightly like this
Col A Col B
1 2006
2 Job 1
3 Laura X

This formula is B3 then copied over and down should to the trick.

=IF(SUMPRODUCT(--(Sheet1!$A$3:$A$7=$A3),--(Sheet1!$B$3:$B$7=B$1),--(Sheet1!$C$3:$C$7=B$2))0,"X","")

Just change the references Sheet1!$A$3:$A$7, etc to whatever your actual
data range is. The abosolute references are critical to allow you to copy
over and down.

--
If this helps, please remember to click yes.


"LauraM" wrote:

Hi, I'm hoping you can help me with a problem. At work I work with a
database of information ( the database is locked, so I can't just add a
report for the info that I need..)

What I have is a list of information - with names, roles, and years. What I
would like to do is find an easy way to have the date information in multiple
columns so we don't print off a new line for each person.

Existing Data

Col A Col B Col C

Laura 2006 Job 1
Laura 2007 Job 1
Bob 2006 Job 2
Bob 2006 Job 1
Bob 2007 Job 1


Ideally I'd like the data displayed as follows (but with years going up to
2009).

Name 2006 Job 1 2006 Job 2 2007 Job 1
2007 Job 2

Laura X
X
Bob X X
X


Any suggestions or tips on how to do this? In my list of data there are
some names repeated up to 30 times, if htat helps.



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
IF formula and date fields SCP1 Excel Worksheet Functions 2 June 4th 09 05:02 PM
Excel SHOULD NOT AUTO-CHANGE formated text fields to DATE FIELDS! PSSSD Excel Worksheet Functions 2 August 8th 06 09:31 PM
create template with certain fields to input information only Annette Excel Worksheet Functions 2 May 19th 06 03:54 PM
How do I organize entries in order by date each rqst was rcvd? floridapio New Users to Excel 1 October 5th 05 06:33 PM
how do i extract information from excel and put in certain fields. Novice Excel Discussion (Misc queries) 2 February 9th 05 07:12 PM


All times are GMT +1. The time now is 02:40 PM.

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"