+ Reply to Thread
Results 1 to 13 of 13

Add up differnt variables in differnt named ranges

  1. #1
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Add up differnt variables in differnt named ranges

    ........................
    Last edited by danielgri14; 04-09-2011 at 11:11 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Add up differnt variables in differnt named ranges

    I see you are using 2007 so check out Sumifs in Excel help
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Add up differnt variables in differnt named ranges

    I dont think it is a sumif maybe a countif because I am just adding up words.
    I was thinking I have to loop through each cell and have like production= production +1 but I have to do it for multiple columns so I can't figure out a way to do that.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Add up differnt variables in differnt named ranges

    Can you post a small sample workbook with what results you desire?

  5. #5
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Add up differnt variables in differnt named ranges

    .............
    Last edited by Leith Ross; 04-10-2011 at 12:57 AM. Reason: Removed workbook at request of OP

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Add up differnt variables in differnt named ranges

    I need a little more explanation here. After applying a filter for Production I see there are 563 records out of 958 , but how do you come up with 0.588 for Production/Tester 1?

  7. #7
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Add up differnt variables in differnt named ranges

    the .588 is just a percent of the total of production/tester1... 563/958

  8. #8
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Add up differnt variables in differnt named ranges

    I have code that can find the probabilty of all the states for one header, I am just having trouble for it going to the next column over and then finding all the probabilities of each state and putting it in the column over

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Add up differnt variables in differnt named ranges

    Build a table the way you have on Sheet4 and then enter

    =COUNTIF(Bldg51Data!A$2:A$959,$B17)/COUNTA(Bldg51Data!A$2:A$959)

    Drag across and down

  10. #10
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Add up differnt variables in differnt named ranges

    Hey Im pretty sure im doing that put Im getting 0 for everything.
    Heres what i did
    Last edited by Leith Ross; 04-10-2011 at 12:58 AM.

  11. #11
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Add up differnt variables in differnt named ranges

    Change $B17 to $A20

    =COUNTIF(Bldg51Data!A$2:A$959,$A20)/COUNTA(Bldg51Data!A$2:A$959)

  12. #12
    Registered User
    Join Date
    04-01-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Add up differnt variables in differnt named ranges

    Thanks dude your the man, how can i repay you? paypal 10$?

  13. #13
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Add up differnt variables in differnt named ranges

    Your thanks is enough

+ 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