+ Reply to Thread
Results 1 to 7 of 7

setting up formulas to pull data from another sheet.

  1. #1
    Registered User
    Join Date
    04-25-2011
    Location
    North Bay, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question setting up formulas to pull data from another sheet.

    I have a work book with 2 separate pages in it that i am trying to use to create a controlled document log for health and safety.

    The first page (for user entry) has 6 columns:
    A is Controlled document number
    B is The Event (Accident or Incident)
    C is the person who entered it
    D is the Type of Event (Cut, Burn or Slip/Trip)
    E is the affected individual
    F is the Date

    On the second page i want it to autocapture information for reporting

    I used the "count if" statement to total the number of entries for the year, for accidents and incidents and it worked.

    I have 3 other things i want the spreadsheet to calculate and cannot get them to work.

    1) i want the spreadsheet to calculate the number of events based on the Event Type. ex. accident & cuts or incident & slip/trip.
    tried countif, sum, if(and). They either work for one entry but not another, or dont work at all
    2)i want it to break down the results per calandar quarter.
    tried countif (greater than or equal to one date),[less than the other date] - but this didnt work I also tried inputting the number into another column and using this value but still won't work
    cannot use countifs statement - not loaded and cannot get in excel

    any suggestions would relieve temporary baldness as i am pulling out my hair with this one.
    Attached Files Attached Files
    Last edited by Excel is Confusing; 04-27-2011 at 09:48 AM. Reason: to clarify

  2. #2
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: setting up formulas to pull data from another sheet.

    Hi
    Use count(if( function

    For example in C7 for first quarter for accidents use this copied down


    Please Login or Register  to view this content.

    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  3. #3
    Registered User
    Join Date
    04-25-2011
    Location
    North Bay, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: setting up formulas to pull data from another sheet.

    I had tried that but was getting an error on the range. I assumed it was because ot linking to another sheet in the same workbook.

    I will try again though and let you know how it works out.

    Thanks alot for the reply.

  4. #4
    Valued Forum Contributor
    Join Date
    08-23-2009
    Location
    Hampshire, UK
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    328

    Re: setting up formulas to pull data from another sheet.

    You could use SUMPRODUCT

    eg in C2
    Please Login or Register  to view this content.
    Note that you need to use the number value for the dates ie 40,544 for 1st Jan 2011.

    See the attached file where I've put the formulas in for you. You will need to change the ranges for your actual file.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: setting up formulas to pull data from another sheet.

    Hi

    Sorry I forget to mention two things

    1. Check that events in both sheets like cut, burn are exactly same (check
    for spaces at
    the end or at the start.

    2. This is an array formula after copying press F2 (for edit mode) hold down
    Ctrl and Alt key and then press enter key. {} should appear arround
    the formula. Then copied down

    See attached sheet also

    Regards
    Attached Files Attached Files
    Last edited by mahju; 04-29-2011 at 08:09 AM. Reason: Upload file

  6. #6
    Registered User
    Join Date
    04-25-2011
    Location
    North Bay, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    Thumbs up Re: setting up formulas to pull data from another sheet.

    Thanks all for your input.

  7. #7
    Valued Forum Contributor Dunc3142's Avatar
    Join Date
    09-05-2007
    Location
    Franklin OH
    MS-Off Ver
    2000 and 2007 and 2010 @ Home & Teach 2010
    Posts
    351

    Re: setting up formulas to pull data from another sheet.

    I think This is working for you.
    Attached Files Attached Files
    Yes it will. we just have to figure out how...
    If I have helped you, PLEASE click the * and add to my Rep.
    Also, if the problem is SOLVED please mark it as so.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1