+ Reply to Thread
Results 1 to 10 of 10

Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

  1. #1
    Registered User
    Join Date
    01-24-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    5

    Post Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Hello,
    So I need for formulas to somehow ignore if next cell is duplicate and go down till it gets new value.

    From table ABCDEG if any of them got value next to them I need that to show in order with no duplicates. Not if values are next to ACEG all i get is ACCEEG my target is to get ACEG-- and this should work with any combination and end up in alphabetical order. When i try to get them to go to other value if its same as itself I get circular references eventually. Can someone help with smarter formulas or other ways. Thank you.

    Formulas:
    IF(AC4>0,AA4,IF(AC5>0,AA5,IF(AC6>0,AA6,IF(AC7>0,AA7,IF(AC8>0,AA8,IF(AC9>0,AA9,""))))))
    IF(AC5>0,AA5,IF(AC6>0,AA6,IF(AC7>0,AA7,IF(AC8>0,AA8,IF(AC9>0,AA9,"")))))
    IF(AC6>0,AA6,IF(AC7>0,AA7,IF(AC8>0,AA8,IF(AC9>0,AA9,""))))
    IF(AC7>0,AA7,IF(AC8>0,AA8,IF(AC9>0,AA9,"")))
    IF(AC8>0,AA8,IF(AC9>0,AA9,""))
    IF(AC9>0,AA9,"")
    Attached Images Attached Images

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Hi. The example you gave may not be very good. In your example ALL of the entries in the first column are already in alphabetical order. Is that always the case? Secondly, there are no duplicates in the first column, yet you talk about duplicates. So. If your example is NOT representative, please attach an Excel sheet WITH representative data. This formula works with your example:

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$2:$A$7)/($B$2:$B$7="X"),ROWS(D$2:D2))),"")

    If you do need to attach a file... Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    01-24-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    5

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Sorry for confusing explanation. It sounded better in my head just was hard to explain.
    Found way out anyway but if someone got my drift and will need help will attach what sorted me out.
    Its not 100% what i needed but I made it work with few adjustments.

    Anyway can close this down Im good
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Glad you got sorted.... but i still don't understand how your file at post 3 relates to the picture at post 1!!

  5. #5
    Registered User
    Join Date
    01-24-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    5

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Imagine if next to ABCDEG you add amount of workers at each position. if position isnt needed you leave blank and move on but it still showes up in other list that i wanted to rank just ones that are with assigned labor. This is to be printed out for staff to see who what and where they will be going that day. Its just a small cell of a big staff sheet. I didnt wanted to print positions that wont be working that day. Each position would have 8 people names next to it. So I didnt needed ranking for values or stuff like that I needed to get my working clusters for that day to be on top in abc order. Hope that clears it out. If you want to see nearly done sheet can share it no problem.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Here's a helper-free version...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-24-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    5

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    Thanks but thats the one I attached on my second post

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    No it isn't. the helpers are gone. Just the starting position and the final result are there.

  9. #9
    Registered User
    Join Date
    01-24-2018
    Location
    UK
    MS-Off Ver
    2016
    Posts
    5

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    ogh yeh i see now cheers

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Getting circular reff. Need to get formulas to ignore duplicate and go to next cell

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 12-15-2016, 03:26 AM
  2. #REFF error
    By saizajkn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-19-2016, 03:46 PM
  3. [SOLVED] Ignore blank cells with formulas or ignore NA() in a formula
    By guiismiti in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-24-2016, 02:13 PM
  4. Copying moving range based on moving cell reff.
    By Varmark in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2011, 04:47 AM
  5. duplicate formulas in same cell.
    By olsoniv in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-09-2011, 02:29 PM
  6. Ignore other formulas when referencing a cell
    By Ada01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2008, 05:11 PM
  7. Circular reference formulas
    By bazza jay in forum Excel General
    Replies: 5
    Last Post: 08-12-2008, 08:58 AM

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