+ Reply to Thread
Results 1 to 28 of 28

sum of all "L" in cells

Hybrid View

  1. #1
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sum of all "L" in cells

    I'll give this 1 try:

    I think the easiest way would be to assign one cell in each sheet (the same cell) and enter a formula in each that sums those values in each sheet.

    Then you can add a formula in the summary sheet that sums that cell from each sheet.

    For example, say you pick cell T2 in each each to contain a summing formula, then you can have something like:

    =IF(D32="Obradi";SUMIF(J21:J29;"L";L21:L29);0)

    and in T3


    =IF(D32="Obradi";SUMIF(J21:J29;"R";L21:L29);0)

    so if D32 is not Obradi, you will get 0.

    do this in each sheet, and change L's to M's where necessary to get same result.

    Then in the last sheet you would sum that cell from each sheet with formula like this:

    =SUM('K1-OK:Vrata 1K'!T2) for "L" count

    and


    =SUM('K1-OK:Vrata 1K'!T3) for "R" count

    You may need to translate the functions to your language
    Last edited by NBVC; 04-06-2011 at 09:09 AM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  2. #2
    Registered User
    Join Date
    04-03-2011
    Location
    Serbia
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: sum of all "L" in cells

    this is almoust Ok, but what i to do with second and sixth sheet; where J25 in second and K27 in sixth sheet. There is show L/R or R/R or something like that, in one cell! How there to calculate how much L and how much r show! I don't know, do you understand that in row "KOM" is number of L and R and half of that number is L and half R, or if in K27 Show R/R then number in row "Kom" is number of R for that sheet! If that can with function that will be good!!!

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: sum of all "L" in cells

    How about you use formula in T2 of each sheet:

    =IF(D32="Obradi";SUM(SUMIF(J21:J29;{"L";"L/L"};L21:L29))+SUM(SUMIF(J21:J29;{"L/R";"R/L"};L21:L29))/2;0)

    and, in T3

    =IF(D32="Obradi";SUM(SUMIF(J21:J29;{"R";"R/R"};L21:L29))+SUM(SUMIF(J21:J29;{"L/R";"R/L"};L21:L29))/2;0)

    change or add for K where necessary.

  4. #4
    Registered User
    Join Date
    04-03-2011
    Location
    Serbia
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: sum of all "L" in cells

    Yes, YES, YES, you are king of excell

  5. #5
    Registered User
    Join Date
    04-03-2011
    Location
    Serbia
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: sum of all "L" in cells

    hey please just one more quetion. You (plural) looks like realy smart guy's. And looks like all can be done with functions! Here is one more attachment. It's just like first one, but here is one more sheet! In this sheet need to, Copy names of others sheet in row "sheet name"; in row "dimension" copy cell bottom of picture in left cell, and right cell from picture in right cell of "dimension"! In cell No, copy cell like in first sheet cell B23. But only when choose options in sheets "Obradi"!
    Now is problem if I choose first "Obradi" in last cell - all information from that cell copy in first column of last sheet, and next choose "Obradi" in first cell - all informations copy to second column, and just next to next copying in next column! I hope that you understand what I mean!
    Attached Files Attached Files

+ 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