+ Reply to Thread
Results 1 to 7 of 7

If nested Function or any other function which can repeat process again and again

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Question If nested Function or any other function which can repeat process again and again

    Hi,

    I have Two columns in

    Column A Name of Persons)
    M
    N
    O
    P


    Column B:
    10
    50
    40
    50
    20
    50

    Now I want a solution in such a way that when sum total of values in Column B >= equals to 60, then in front of that column value " M " displays and this process repeats till all the remaining values in column "A".

    Result would be like that :

    Column B : Column C :
    10 ........... M
    50 ........... M
    40 ........... N
    50 ........... N
    20 ........... O
    50 ........... O

    It would be great if someone will provide solution to this problem.
    Last edited by exceldoubts; 12-09-2012 at 03:15 AM.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Need Help for this Excel Task

    insert this in column C for every entry

    IF(B$1>60,INDIRECT("a"&ROUNDDOWN(ROW(A2)/2+1,0)),"")

    /2 is needed because you want to place each column a entry twice.
    b$1 contains the SUM(b2:b500)

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Need Help for this Excel Task

    Hi,

    Sorry for replying late. Have tried this but it is not working, showing error. I am attaching sheet so it would give you better idea, what I am looking for.
    Attached Files Attached Files
    Last edited by exceldoubts; 12-09-2012 at 03:19 AM.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If nested Function or any other function which can repeat process again and again

    In C1 input "A" (first name)

    In C2 use
    Please Login or Register  to view this content.
    Copy down. See attached
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: If nested Function or any other function which can repeat process again and again

    Hi,

    I want small change in this formula, I want once Name list finished function stops there instead of keep on going again and again.

    Regards

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If nested Function or any other function which can repeat process again and again

    In C2 use

    Please Login or Register  to view this content.
    copy down

  7. #7
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: If nested Function or any other function which can repeat process again and again

    Hi,

    This formula is working but problem is If I drag this to more columns function works again and shows value "0". I want as soon as Names assigned it stops there only, no further processing.

    Thanks in Advance again.

+ 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