#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Data collation

Hi,

I have weekly attendance registers in individual worksheets that display
whether a person was "in", "sick", "u/a" or "hols" from Sun-Sat.

I have adapted a formula;

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"18 jan","25 jan"}&"'!b5:h5"),"hols"))

from these forums that works to a degree however, I have an issue with new
employees. I cannot find a way to update the sheet so that the new employee
can slot in alphabetically and not upset the above formula as he would then
take over the range of b5:h5 that is meant for someone else.

Any help would be greatly appreciated.

Thanks

Paul
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Data collation

Hi,

I'm not sure what you are doing with this formula, but you could try

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"18 jan","25 jan"}&"'!"&B5:H5),"hols"))

That is removing the "" around the cell address portion.

Just a comment - this doesn't look like a very flexible formula, I would
consider using cell refereces in place of "18 Jan" and 25 Jan if possible.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Pootle" wrote:

Hi,

I have weekly attendance registers in individual worksheets that display
whether a person was "in", "sick", "u/a" or "hols" from Sun-Sat.

I have adapted a formula;

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"18 jan","25 jan"}&"'!b5:h5"),"hols"))

from these forums that works to a degree however, I have an issue with new
employees. I cannot find a way to update the sheet so that the new employee
can slot in alphabetically and not upset the above formula as he would then
take over the range of b5:h5 that is meant for someone else.

Any help would be greatly appreciated.

Thanks

Paul

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Data collation

Hi

The 18 Jan is the name of the worksheet. I will obviously have 52 worksheets
by the end of the year.

I have 66 employees listed down and the days of the week across in the 18
Jan and the rest of the weeks worksheets that will be added. I am trying to
keep a summary sheet that tells me how many days holiday J.Bloggs has left,
how many sick days he has had so far etc etc by counting the text across all
the 'week' worksheets for that particular person.

It's not really practical for me to use cell references due to the amount of
data being held and the nature of it. I still need to hold the data
week-by-week as other depts use it.

Your code seems to have a circular reference problem it seems to be
searching in b5:h5 of the same worksheet.

Regards

Paul

"Shane Devenshire" wrote:

Hi,

I'm not sure what you are doing with this formula, but you could try

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"18 jan","25 jan"}&"'!"&B5:H5),"hols"))

That is removing the "" around the cell address portion.

Just a comment - this doesn't look like a very flexible formula, I would
consider using cell refereces in place of "18 Jan" and 25 Jan if possible.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Pootle" wrote:

Hi,

I have weekly attendance registers in individual worksheets that display
whether a person was "in", "sick", "u/a" or "hols" from Sun-Sat.

I have adapted a formula;

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"18 jan","25 jan"}&"'!b5:h5"),"hols"))

from these forums that works to a degree however, I have an issue with new
employees. I cannot find a way to update the sheet so that the new employee
can slot in alphabetically and not upset the above formula as he would then
take over the range of b5:h5 that is meant for someone else.

Any help would be greatly appreciated.

Thanks

Paul

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
Increase Your Business By Data Conversion, Data Format and Data EntryServices in India Data Entry India Excel Worksheet Functions 1 March 31st 08 12:51 PM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
Data collation Kerry Excel Discussion (Misc queries) 0 October 31st 07 03:44 PM
Data collation killing me!! rhani111 Excel Worksheet Functions 19 August 10th 06 02:13 AM
Turn off collation permanently in Excel Sherry Excel Discussion (Misc queries) 4 November 16th 05 12:36 AM


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