PC Review


Reply
Thread Tools Rate Thread

Column Lookup Problems

 
 
PCStechnical
Guest
Posts: n/a
 
      5th Dec 2006
*Disclaimer* I do not know if my problem can be solved using formulas
or it has to use VBA. The easiest solution would be the best for me
because I don't have all the VBA skills in the world.

Here is my problem: I have a table that looks similar to this:

Department Hours Other Hours
1 8 0
2 0 7
3 0 0
4 5 5
5 0 0
....

The reasons for the... is because I have over 75 different departments.
The table you see above is a summary table based on inputs on another
sheet. The hours and Other hours are calculated automatically based on
what someone inputs/selects as their department on another sheet in the
same workbook.

Since this summary table has over 75 departments, it's quite large. A
person will generally select that they worked between 1-3 different
departments in a given week; not 75. So, there is a lot of unnecessary
space/zeros. I a format of a summart sheet that breaks down by Hours
and Other Hours (There are acutally 15 other types of hours, I just
chose to use one for this example) and looks something like this:

Hours
Other
Amount Department Amount
Department
8 1
7 2
5 4
5 4
I need something that can search through that summary table, find a
value greater than zero, then print that value and it's corresponding
department into my summary sheet shown above, then keeps searching for
the next value that is greater than 0. That way, it will only show in
the summarty sheet work done and not a bunch of 0's with 75
departments.

If you need clarification, which I understand completely, put your
email down and I can email the form and to try and help clarify what
I'm trying to say.

Thank you.

 
Reply With Quote
 
 
 
 
PCStechnical
Guest
Posts: n/a
 
      5th Dec 2006
Ok, so the summary sheet got all dismembered when it posted. I'll try
again

Hours Other
Amt. Dept Amt. Dept.
8 1 7 2
5 4 5 4


Hopefully that worked
PCStechnical wrote:
> *Disclaimer* I do not know if my problem can be solved using formulas
> or it has to use VBA. The easiest solution would be the best for me
> because I don't have all the VBA skills in the world.
>
> Here is my problem: I have a table that looks similar to this:
>
> Department Hours Other Hours
> 1 8 0
> 2 0 7
> 3 0 0
> 4 5 5
> 5 0 0
> ...
>
> The reasons for the... is because I have over 75 different departments.
> The table you see above is a summary table based on inputs on another
> sheet. The hours and Other hours are calculated automatically based on
> what someone inputs/selects as their department on another sheet in the
> same workbook.
>
> Since this summary table has over 75 departments, it's quite large. A
> person will generally select that they worked between 1-3 different
> departments in a given week; not 75. So, there is a lot of unnecessary
> space/zeros. I a format of a summart sheet that breaks down by Hours
> and Other Hours (There are acutally 15 other types of hours, I just
> chose to use one for this example) and looks something like this:
>
> Hours
> Other
> Amount Department Amount
> Department
> 8 1
> 7 2
> 5 4
> 5 4
> I need something that can search through that summary table, find a
> value greater than zero, then print that value and it's corresponding
> department into my summary sheet shown above, then keeps searching for
> the next value that is greater than 0. That way, it will only show in
> the summarty sheet work done and not a bunch of 0's with 75
> departments.
>
> If you need clarification, which I understand completely, put your
> email down and I can email the form and to try and help clarify what
> I'm trying to say.
>
> Thank you.


 
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
RE: Want text in multi-column lookup not bound column KARL DEWEY Microsoft Access Forms 0 6th Apr 2009 03:51 AM
Lookup looks to the prior column if zero appears in the lookup col kenbquik Microsoft Excel Misc 2 12th Mar 2009 03:41 AM
single column lookup with multile column return Roger Ryall Microsoft Access Forms 1 14th Jun 2008 07:33 PM
macro column lookup enter data in another column same row =?Utf-8?B?bWlrZW9sc29u?= Microsoft Excel Programming 12 19th Nov 2007 05:29 PM
Calculating totals in a column based on a lookup in another column Michael Wright via OfficeKB.com Microsoft Excel Worksheet Functions 1 15th Apr 2005 09:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 AM.