+ Reply to Thread
Results 1 to 5 of 5

highlight numbers that sum to targets

  1. #1
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    highlight numbers that sum to targets

    hi guys...
    i have 3 targets named A,B & C in the sent file (targets sheet)
    i wanna get the numbers whose sum is equaled with each target highlighted (according to the sent file)
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: highlight numbers that sum to targets

    Hi,

    That is fairly complex as in many scenarios, there could be several combinations that gives you this result. Do you have more information about your data that would help? Example, is there always 3 values? Are they always lower than the target value? etc.

  3. #3
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: highlight numbers that sum to targets

    no the number of values are variable.. not always lower than the target value and it could be higher as well..
    i want highlight only the first matching total, for instance if 170 is entered as a target for "c" then "70" and "100" will be highlighted, not "80" and "90"..

  4. #4
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: highlight numbers that sum to targets

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: highlight numbers that sum to targets

    I have a working solution which I may post after you comply.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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: 1
    Last Post: 06-13-2014, 03:13 AM
  2. Using VBA to highlight numbers
    By nav505 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2013, 09:12 AM
  3. [SOLVED] VBA Highlight Max Numbers
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-29-2013, 04:15 AM
  4. Highlight duplicate numbers
    By nakata75 in forum Excel General
    Replies: 2
    Last Post: 09-22-2012, 12:31 PM
  5. Targets
    By Vokean in forum Excel General
    Replies: 7
    Last Post: 09-16-2012, 08:53 PM
  6. Highlight repeated numbers
    By Alicia0096 in forum Excel General
    Replies: 2
    Last Post: 08-03-2010, 09:57 PM
  7. Colour paired numbers and highlight unmatched numbers
    By tek9step in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-18-2010, 11:24 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