Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default add data in column related to cell in another column - see full de

Hello,

Can someone help me please.

I have a worksheet with multiple rows and columns of data( Numerical and
text).
I have set up another worksheet to read certain information depending on the
entered information.This worksheet I have almost completed but i am
struggling with one aspect.

Worksheet 1
A B C D E F G H I
J K L
Date Name Vehicle X X X X Hours X X X
X
10.9.09 pete dy23frt x x x x 3 x x
x x
x x x x 4
x x x x
x x x x 4
x x x x
10.9.09 gary dy35juy x x x x 2 x x
x x
x x x x 4
x x x x
10.9.09 brian dy45fre x x x x 6 x x
x x
x x x x 4
x x x x

Where X is column headings relating to other information.

The worksheet contains multiple columns of info, but all i am concerned with
is reading the drivers name and then reading all the hours he has worked on
that day from column H.Each driver can have many seperate deliveries each day
which is why their time is seperated in several segments.The worksheet is set
up for each week so the driver may be entered several times during the week.I
have set the other worksheet up to read the drivers name and read across to
get the first part of the days hours ( EG - Pete, first hours = 3), what i am
struggling to achieve is what formulae to use so it reads the drivers name
and then adds all hours worked that day until such time as another drivers
name is incountered in column B. For example - Pete would be 3 + 4 + 4 for
the 10.9.09.

Also it has to be remebered that pete names may well appear further down the
worksheet on another day - the 11th or 12th etc.The worksheet i have
constucted already reads the data automatically as it is entered on the main
worksheet - drivers name, number of days worked etc. I'm just struggling to
read the data relating to the hours worked each day.

If anyone can help it would be extremely appreciated.




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default add data in column related to cell in another column - see full de

Hi,

Just Have a look at DSUM Function. Press F1 OR goto Help and select
Microsoft Excel Help and type "DSUM Function" in search window. The results
will appear click DSUM function and have a look at it. I think it will match
perfectly what you are looking to do.

At the same time i have seen your example and found that there are blank
cells in between the data. I know that the blank cells refers the above
data. But my advice is dont leave the cells as blank, if you know that the
cells refers the above data, then fill that blank cells with the same data
for which it belongs to. Because it will help you get the results very
easily. Otherwise you will be in trouble in getting the desired result.

Anyway All the Best!

If This Post Helps, Click Yes

--------------------
(MS-Exl-Learner)
--------------------



"Migty" wrote:

Hello,

Can someone help me please.

I have a worksheet with multiple rows and columns of data( Numerical and
text).
I have set up another worksheet to read certain information depending on the
entered information.This worksheet I have almost completed but i am
struggling with one aspect.

Worksheet 1
A B C D E F G H I
J K L
Date Name Vehicle X X X X Hours X X X
X
10.9.09 pete dy23frt x x x x 3 x x
x x
x x x x 4
x x x x
x x x x 4
x x x x
10.9.09 gary dy35juy x x x x 2 x x
x x
x x x x 4
x x x x
10.9.09 brian dy45fre x x x x 6 x x
x x
x x x x 4
x x x x

Where X is column headings relating to other information.

The worksheet contains multiple columns of info, but all i am concerned with
is reading the drivers name and then reading all the hours he has worked on
that day from column H.Each driver can have many seperate deliveries each day
which is why their time is seperated in several segments.The worksheet is set
up for each week so the driver may be entered several times during the week.I
have set the other worksheet up to read the drivers name and read across to
get the first part of the days hours ( EG - Pete, first hours = 3), what i am
struggling to achieve is what formulae to use so it reads the drivers name
and then adds all hours worked that day until such time as another drivers
name is incountered in column B. For example - Pete would be 3 + 4 + 4 for
the 10.9.09.

Also it has to be remebered that pete names may well appear further down the
worksheet on another day - the 11th or 12th etc.The worksheet i have
constucted already reads the data automatically as it is entered on the main
worksheet - drivers name, number of days worked etc. I'm just struggling to
read the data relating to the hours worked each day.

If anyone can help it would be extremely appreciated.




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
cell copy related column lable climate Excel Worksheet Functions 3 November 1st 08 07:57 AM
Search for data in a column bring all related items in other colum sk New Users to Excel 2 September 2nd 06 10:39 PM
Merging a full column into a single cell Gmoney Excel Worksheet Functions 3 May 16th 06 12:37 AM
move contents of column C based on criteria related to column A Debra Excel Discussion (Misc queries) 2 December 27th 05 10:25 PM
How I can print full text bigger than column, in repeat column Prince Excel Discussion (Misc queries) 0 August 11th 05 07:28 PM


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