+ Reply to Thread
Results 1 to 9 of 9

Trying to build a log book in excel

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    CT, USA
    MS-Off Ver
    Excel for mac 2011
    Posts
    5

    Trying to build a log book in excel

    Hello ,

    First off there is a wealth of information in this forum and I am glad I found you all!

    Now here is my issue I am using Excel 2011 on a mac and I am building a log for work. Please see the attached log. Page 1, Log has all of the information that we use. Page 2 has all of the Data. I want to be able to select the Specific Company from the drop down in this instance I selected Co.1 and for Program I selected Accident. Now when this information is selected I want it to populate automatically on Page 2 For all instances. I hope I was clear on what it is I am trying to accomplish and I hope it is something that Excel can do. Either way I appreciate any help or advice you can give.

    Thank you,

    Sgalbo

    Steve.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to build a log book in excel

    sgalbo,

    Welcome to the forum!
    What I think you're looking for is the Countifs() function. Using your provided workbook, on sheet 'Stats' cell C2 and copied over and down to V46, give this formula a try:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-20-2012
    Location
    CT, USA
    MS-Off Ver
    Excel for mac 2011
    Posts
    5

    Re: Trying to build a log book in excel

    Do I need to change the data in the formula for each line? Also will that work with the 19 different companies? Sorry to be a pain , I'm not really good with excel yet.

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to build a log book in excel

    The formula uses the $ symbol to create absolute references where necessary. So as the formula is copied over and down only the references that need to, will change. So it should work with the 19 different companies (which is why it's copied over column V) and all the programs (which is why it's copied down to row 46).

  5. #5
    Registered User
    Join Date
    06-20-2012
    Location
    CT, USA
    MS-Off Ver
    Excel for mac 2011
    Posts
    5

    Re: Trying to build a log book in excel

    Ok that sort of works, when I add it sheet 2 it doesn't differentiate the company or program though.

  6. #6
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to build a log book in excel

    sgalbo,

    I'm not sure what you mean. Can you be more descriptive, or upload a sample workbook demonstrating the issue and what the expected results should be instead?

  7. #7
    Registered User
    Join Date
    06-20-2012
    Location
    CT, USA
    MS-Off Ver
    Excel for mac 2011
    Posts
    5

    Re: Trying to build a log book in excel

    I have attached an updated log, using the formula you gave earlier I copied and pasted in into the stats sheet, now when I select Co.1 and Accident etc.. it gives a final count of 8 as you can see from the attached spreadsheet. When I select Company 1-19 and then select the Program I want them to auto count it on the stats sheet. Thanks again I appreciate the help!Workbook2 with code.xlsx

  8. #8
    Registered User
    Join Date
    06-20-2012
    Location
    CT, USA
    MS-Off Ver
    Excel for mac 2011
    Posts
    5

    Re: Trying to build a log book in excel

    Ok I have made changes to your original formula, =COUNTIFS(Log!$C$2:$C$100,C$1,Log!$D$2:$D$100,$A2) If I change the $A2 to the corresponding row on sheet 2 (stat sheet) it works , so it seem I will need to do each line individually to have it work, I think. Let me know if I'm missing something here. Thanks
    Last edited by sgalbo; 06-20-2012 at 07:57 PM.

  9. #9
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to build a log book in excel

    sgalbo,

    You need to copy the formula and paste it into a single cell: 'Stats' sheet, C2. Then, copy that cell, and paste it over and down to V46. The row/column references that need to change will do so automatically.

+ 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