+ Reply to Thread
Results 1 to 4 of 4

Check if value is in increasingly bigger ranges loop

  1. #1
    Registered User
    Join Date
    05-28-2019
    Location
    Treviso, Italy
    MS-Off Ver
    2016
    Posts
    29

    Check if value is in increasingly bigger ranges loop

    Good evening

    To be completely fair I don't know which title to put, so I hope I can explain myself better even though english is not my primary language.
    Basically I have got a starting value and I need an UDF to check if this value is in a determined range and, if it is, add a certain value and recheck it after the value is added.. This goes on until the value I have isn't included in any range.

    I put an example of what I need attached to the thread.

    I beg you to help me since I've been trying with formulas for the past month and I couldn't get around to do this and I can't program VBA to save my life.

    Thank you so much and Merry Christmas!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Check if value is in increasingly bigger ranges loop

    I really wanted to help but wasn't able to understand the logic.

    Is this all number all part of one set of data ??

    NOT also clear how you get the values on the Column G, value I need to end up with.

    If you show more examples and may be more logic on what you want would help.

    Also, try to make cells different colours on what has been given data and what is the expected result
    If you think someone helped you, click on the "* Add Reputation" as a way to say thank you.

    If your problem is solved, go to Thread Tools and select Mark This Thread Solved

  3. #3
    Registered User
    Join Date
    05-28-2019
    Location
    Treviso, Italy
    MS-Off Ver
    2016
    Posts
    29

    Re: Check if value is in increasingly bigger ranges loop

    Hi! Sorry for being unclear, I really don't know how to explain myself better than this
    I have the concept clear in my mind because I work on it everyday but it's hard for me to explain it to others since english is not my primary language

    I'll upload the same file with more examples

    hope you can help!
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,004

    Re: Check if value is in increasingly bigger ranges loop

    1. Can you explain why 5 became 8?
    2. What happen if the starting number is 11?

+ 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. Have date ranges. Given a bigger date range, I need to identify gaps.
    By James Keuning in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-11-2019, 05:22 PM
  2. Replies: 1
    Last Post: 09-25-2014, 04:12 PM
  3. Replies: 0
    Last Post: 07-20-2010, 11:42 AM
  4. formula to check bigger and smaller than
    By avengine in forum Excel General
    Replies: 1
    Last Post: 12-26-2008, 03:13 PM
  5. [SOLVED] macros run increasingly slowly
    By Andrew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2006, 11:10 AM
  6. Replies: 2
    Last Post: 03-14-2006, 02:04 AM
  7. [SOLVED] Workbook Bigger and Bigger
    By Ye Yint Win in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2005, 09:05 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