PC Review


Reply
Thread Tools Rate Thread

Adding to a list of codes

 
 
fabio
Guest
Posts: n/a
 
      2nd Jun 2010
Hi

In Excel 2003 I have a spreadsheet listing a large number of cost centres.
Each month I am given a list of the cost centres and expenditure against
them, which I want to use a look up to populate in to a master spreadsheet.
However, during the month new cost centres could have been created.

What I would like to be able to do is run a macro against the monthly return
and compare the codes contained in it to the codes already listed in the
master sheet. If there are any new codes not already in the master sheet I
would want them added to the existing list so that the master remains
complete. Any suggestions on how to achieve this would be welcomed.
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      2nd Jun 2010
Maybe you could just copy the whole thing. Wouldn't that be the same as
comparing?
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"fabio" <(E-Mail Removed)> wrote in message
news:65176D57-BA94-461D-8914-(E-Mail Removed)...
> Hi
>
> In Excel 2003 I have a spreadsheet listing a large number of cost centres.
> Each month I am given a list of the cost centres and expenditure against
> them, which I want to use a look up to populate in to a master
> spreadsheet.
> However, during the month new cost centres could have been created.
>
> What I would like to be able to do is run a macro against the monthly
> return
> and compare the codes contained in it to the codes already listed in the
> master sheet. If there are any new codes not already in the master sheet
> I
> would want them added to the existing list so that the master remains
> complete. Any suggestions on how to achieve this would be welcomed.


 
Reply With Quote
 
fabio
Guest
Posts: n/a
 
      2nd Jun 2010
Hi

Sorry if I was unclear. The master sheet contains a number of calculations
of year to date based on the monthly figures on the monthly sheets.
Therefore in January for cost centre AAAA I will do a lookup of the
expenditure for January and so place it in the correct cell. February's
submission will go in the next column and the master sheet will recalculate.
All is OK until the submission in March contains an entry for anew cost
centre ie ZZZZ not on the master sheet and therefore this expenditure will
not be included in the calculations on the master sheet. Therefore I need to
identify new codes and add them to the master sheet. These contain thousands
of lines and therefore I need to automate this process. I hope that
clarifies my objectives.

Thanks

"Don Guillett" wrote:

> Maybe you could just copy the whole thing. Wouldn't that be the same as
> comparing?
> If desired, send your file to my address below. I will only look if:
> 1. You send a copy of this message on an inserted sheet
> 2. You give me the newsgroup and the subject line
> 3. You send a clear explanation of what you want
> 4. You send before/after examples and expected results.
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> (E-Mail Removed)
> "fabio" <(E-Mail Removed)> wrote in message
> news:65176D57-BA94-461D-8914-(E-Mail Removed)...
> > Hi
> >
> > In Excel 2003 I have a spreadsheet listing a large number of cost centres.
> > Each month I am given a list of the cost centres and expenditure against
> > them, which I want to use a look up to populate in to a master
> > spreadsheet.
> > However, during the month new cost centres could have been created.
> >
> > What I would like to be able to do is run a macro against the monthly
> > return
> > and compare the codes contained in it to the codes already listed in the
> > master sheet. If there are any new codes not already in the master sheet
> > I
> > would want them added to the existing list so that the master remains
> > complete. Any suggestions on how to achieve this would be welcomed.

>
> .
>

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      2nd Jun 2010

Still not too clear and I won't try to recreate your file so I repeat my
offer to send
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"fabio" <(E-Mail Removed)> wrote in message
news:CEF7D345-D229-4682-A084-(E-Mail Removed)...
> Hi
>
> Sorry if I was unclear. The master sheet contains a number of
> calculations
> of year to date based on the monthly figures on the monthly sheets.
> Therefore in January for cost centre AAAA I will do a lookup of the
> expenditure for January and so place it in the correct cell. February's
> submission will go in the next column and the master sheet will
> recalculate.
> All is OK until the submission in March contains an entry for anew cost
> centre ie ZZZZ not on the master sheet and therefore this expenditure will
> not be included in the calculations on the master sheet. Therefore I need
> to
> identify new codes and add them to the master sheet. These contain
> thousands
> of lines and therefore I need to automate this process. I hope that
> clarifies my objectives.
>
> Thanks
>
> "Don Guillett" wrote:
>
>> Maybe you could just copy the whole thing. Wouldn't that be the same as
>> comparing?
>> If desired, send your file to my address below. I will only look
>> if:
>> 1. You send a copy of this message on an inserted sheet
>> 2. You give me the newsgroup and the subject line
>> 3. You send a clear explanation of what you want
>> 4. You send before/after examples and expected results.
>>
>> --
>> Don Guillett
>> Microsoft MVP Excel
>> SalesAid Software
>> (E-Mail Removed)
>> "fabio" <(E-Mail Removed)> wrote in message
>> news:65176D57-BA94-461D-8914-(E-Mail Removed)...
>> > Hi
>> >
>> > In Excel 2003 I have a spreadsheet listing a large number of cost
>> > centres.
>> > Each month I am given a list of the cost centres and expenditure
>> > against
>> > them, which I want to use a look up to populate in to a master
>> > spreadsheet.
>> > However, during the month new cost centres could have been created.
>> >
>> > What I would like to be able to do is run a macro against the monthly
>> > return
>> > and compare the codes contained in it to the codes already listed in
>> > the
>> > master sheet. If there are any new codes not already in the master
>> > sheet
>> > I
>> > would want them added to the existing list so that the master remains
>> > complete. Any suggestions on how to achieve this would be welcomed.

>>
>> .
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Codes to webpage Gerri Microsoft Word Document Management 1 7th Apr 2010 10:52 PM
Adding VBA Codes ab3d4u Microsoft Excel Worksheet Functions 3 2nd Oct 2007 07:23 PM
List of Codes and Display Names for Codes hoganc Microsoft Excel Discussion 1 12th Oct 2004 08:45 PM
List of Codes and Display Names for Codes hoganc Microsoft Excel Discussion 0 4th Oct 2004 04:25 PM
List of Codes and Display Names for Codes hoganc Microsoft Excel Discussion 1 4th Oct 2004 02:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:43 AM.