+ Reply to Thread
Results 1 to 2 of 2

Find Cell address while using sum

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    NH, USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Find Cell address while using sum

    Hello Everyone,

    I am trying to figure out a formula that would allow me to find the cell address of the last number needed to make a maximum total. Say if column A was A1=5, A2=5, A3=5, A4=5, A5=5 right down the line, I want to find the address of the cell that makes the total 20 (so, A4). Or if I had an odd number that I wanted to find like 23 it would be A5. Even though that adds up to 25 the number 23 would be made in the cell. I am not sure if this is out of the realm of possibility but I hope it isn't.

    Thank you all.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Find Cell address while using sum

    Hi

    B1: 20 (or 23 - the total you want to find)
    C1: =IF(SUM($A$1:A1)>=$B$1,ROW(),"") Copy down as required
    D1: =CELL("address",INDIRECT("A"&MIN(C:C)))

    HTH

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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