+ Reply to Thread
Results 1 to 14 of 14

Needa formula to find data from group of cells

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Thumbs up Needa formula to find data from group of cells

    in case you are sure what im tryingto do, i have attached the doc, you need to look at score book. Where ever AA appears betwenn B28 and Y91 i want to put the figure from the adjasent yellow cell into cell no, AQ29 ( runs from over AA ). Once that is done i will need to put runs from over BB into AQ30 then CC into AQ31, DD into AQ32 all the way down to VU which is AQ78.
    The Double letters of AA, BB, CC etc will only appear once they have been inputted, so they could appear anywhere between rows 28 and 91.

    Steve.................
    Attached Files Attached Files
    Last edited by romperstomper; 06-27-2011 at 05:51 AM. Reason: Mark solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Needa formula to find data from group of cells

    A good sample workbook includes sample results, too.

    What would the answers be for AA, BB, CC, DD?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Needa formula to find data from group of cells

    My understanding is he wants to bring back the cell to the left of the value.

    So AA appears in C28, he wants to bring back the value of B28 (6)

    It looks like it should be fairly simple (for you anyway!) but not simple enough for me to drop what I'm doing right now.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Needa formula to find data from group of cells

    Perhaps, I'd rather not guess. He can provide the answer to the four options requested and then it's exactly crystal clear where/what he wants.

  5. #5
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Needa formula to find data from group of cells

    this is what im trying to achieve. Where ever AA may appear ( could be anywhere between rows 28 and 91 ) i want to take the value in the yellow cell next to it( ie 6 as in this case ) and put that amount into cel AQ29. I then need to repeat that by looking for BB and placing amount in AQ30 and so so all the way down colume AQ.

    Steve............

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Needa formula to find data from group of cells

    Minty, please answer the question asked fully. I'd really like to help, but your reference to "yellow cells" should be clear but for some reason it isn't. Your sheet design is so unique it's not immediately clear where you're wanting the answers from.

    Please provide "cell address" references for answers to the following... I imagine complete 4 example results would be enough to clear it up.


    AA:
    AQ29=6 (this comes from cell ???? in the example sheet)
    AR29=? (this comes from cell ???? in the example sheet)

    BB:
    AQ30=? (this comes from cell ???? in the example sheet)
    AQ30=? (this comes from cell ???? in the example sheet)

    CC:
    AQ31=? (this comes from cell ???? in the example sheet)
    AQ31=? (this comes from cell ???? in the example sheet)

    DD:
    AQ32=? (this comes from cell ???? in the example sheet)
    AQ32=? (this comes from cell ???? in the example sheet)

  7. #7
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Needa formula to find data from group of cells

    in reply to your posting. Because i dont know who is going to bowl in over AA, BB, CC, DD and all the way down to VU, i can only give you and example. In the original spread sheet bowler 1 bowls AA but it could be bowler 10.

    Over AA = (6) comes from cell B28 which is a commulative of B29:D32
    Over BB = (2) comes from cell B35 which is a cummulative of B36:D39
    Over CC = (3) comes from cell E28 which is a cummalative of E29:E32
    Over DD = (5) comes from cell E35 which is a cummalative of E36:G39

    The AR row is for a ruuning total of wickets taken. in over AA the cell it comes from is B33. BB comes from cell B40, CC comes from Cell E33 and DD comes from cell E40.

    Minty

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Needa formula to find data from group of cells

    In AQ29, put this formula, then copy the cell downward:

    =SUMIF($C$28:$X$91, $AP29, $B$28:$W$91)

    In AR29, this formula:

    =SUMIF($C$28:$X$91, $AP29, $B$33:$W$96)

  9. #9
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Needa formula to find data from group of cells

    Fantastic, the running total for runs works amazing , thank you.

    But the wickets do not quite work............
    This is what im trying to get.

    2 wickets in AA = 2 in AR30
    0 wickets in BB = 2 in AR31
    1 wicket in CC = 3 in AR32
    0 wicket in DD = 3 in AR33
    0 wicket in EE = 3 in AR34

    row AR is for keeping the running total of wickets

    Minty

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Needa formula to find data from group of cells

    Let me remind you your cricket terminology means nothing to me, so do not expect me to "interpret" any of your terms or meanings.

    2 wickets in AA = 2 in AR30 (you get 2 from which cell?)
    0 wickets in BB = 2 in AR31 (you get 0 from which cell?)
    1 wicket in CC = 3 in AR32 (you get 1 from which cell?)
    0 wicket in DD = 3 in AR33 (you get 0 from which cell?)
    0 wicket in EE = 3 in AR34 (you get 0 from which cell?)

    The running total part is easy. I don't know what a "wicket" is, so I'm expecting you to describe in Excel language what cell(s) you're looking at for those values.

  11. #11
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Needa formula to find data from group of cells

    Im sorry for thinking you understand cricket terminogoly. I will change my explanation.

    im trying to record the number of times a W appears (Wicket) within cells B29:Y95. There is a maximum of 10 to record. With the formula you sent me ( =-sumif($c$28:$x$91,$ap29,$b$33:$w$96) it does record the W in the appropriate AR colume but it doesnt give you a running total. EG

    first W appears in DD so 1 is in AR32
    no W in EE but AR32 still reads 1
    no W in FF but AR32 still reads 1
    2 W,s appear in GG so AR33 now reads 3
    no W in HH but AR34 still reads 3
    1 W in II so AR35 now reads 4

    does that make sense ?
    Minty

  12. #12
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Needa formula to find data from group of cells

    UGH... after spending quite some time looking at this, I finally realized that you had already gathered the wickets per section in the lower left corner of each section. UGH.

    So, try this in AR29 and copy down:

    =SUMIF($C$28:$Y$91, $AP29, $B$33:$Y$96) + N($AR28)

  13. #13
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Needa formula to find data from group of cells

    You are a star, thank you so much, i couldnt have done it with out you....


    MINTY

  14. #14
    Registered User
    Join Date
    06-13-2011
    Location
    Oxford, England
    MS-Off Ver
    Excel 2007
    Posts
    17

    (SOLVED) Needa formula to find data from group of cells

    after much hard work job has been achieved

+ 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