Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Cross sheet reference function

Hey,

I'm a newbie to use Excel. I need to come up with a workbook has 2 spread
sheets in it.
The first sheet hold the project name, Time I spent on it, Date etc. I have
several projects in one day. In the second spread sheet I need to know total
hour I spent on the projects. I do not want to hand input the hours. Is there
a formula or function I can use so the hour information in the 2nd
spreedsheet could be updated automaticallly according to the data I entered
in the 1st sheet?

Thanks in advance!
Rocky
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 695
Default Cross sheet reference function

If u have Project-names i Sheet1 column A
And Hour in Sheet1 column B (put in as times fx. 2:15)

in Sheet2 A2 copy down to row 1000

=IF(COUNTIF(Sheet1!A2:$A$1000,Sheet1!A2)=1,Sheet1! A2,"")
-------------------------------------------------------------------------------
if u have to edit this formula, do it before copying down !
in Sheet2 B2 copy down to row 1000,- while still selected CTRL+SHIFT+ENTER

=IF(ISERR(SMALL(IF(A2:A1000<"",ROW(INDIRECT("1:"& ROWS(A2:A1000)))),ROW(INDIRECT("1:"&ROWS(A2:A1000) )))),"",INDEX(A2:A1000,SMALL(IF(A2:A1000<"",ROW(I NDIRECT("1:"&ROWS(A2:A1000)))),ROW(INDIRECT("1:"&R OWS(A2:A1000))))))
------------------------------------------------------------------------------
in Sheet2 C2 copy down to row 1000

=IF(B2="","",COUNTIF(Sheet1!A2:A1000,Sheet2!B2,She et1!B2:B37))
Custumformat [h]:mm



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
Please help to get cross reference with another sheet pol Excel Discussion (Misc queries) 1 April 12th 10 09:44 PM
Cross Reference fgwiii[_2_] Excel Worksheet Functions 1 July 21st 09 05:06 PM
Cross reference Edward[_3_] Excel Discussion (Misc queries) 7 November 10th 08 08:42 AM
Cross reference LaRana! Excel Worksheet Functions 1 March 6th 08 12:22 AM
Cross Reference Terrance DeBord Excel Worksheet Functions 1 March 8th 06 04:11 PM


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