+ Reply to Thread
Results 1 to 4 of 4

Partially fill an image with color, acording with a percentage

  1. #1
    Registered User
    Join Date
    05-19-2022
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2013/Office 2016
    Posts
    2

    Partially fill an image with color, acording with a percentage

    Hello,

    I need help with an Excel file that has two sheets, attached.
    In first sheet I have some random numbers (percentages) created with RANDBETWEEN, that changes.
    I need to copy the images from the second sheet to the first sheet and to fill each image with color, according to the percentage.
    Have you ever dealt with such a thing? Can you help me with some tips?

    Thanks to everyone for their help.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Partially fill an image with color, acording with a percentage

    You can make a column type graph and place it behind the pictures. As the pictures have some white fill and some transparent fill regions, the graph will be visible through transparent regions.

    Step by step changes and formatting is shown in the attached file (just for one category, you shall do similar graphs for other categories (separate one for each category).
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    05-19-2022
    Location
    Bucharest, Romania
    MS-Off Ver
    Office 2013/Office 2016
    Posts
    2

    Re: Partially fill an image with color, acording with a percentage

    Quote Originally Posted by Kaper View Post
    You can make a column type graph and place it behind the pictures. As the pictures have some white fill and some transparent fill regions, the graph will be visible through transparent regions.

    Step by step changes and formatting is shown in the attached file (just for one category, you shall do similar graphs for other categories (separate one for each category).
    Thank you very much, Kaper! You're the best!

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Partially fill an image with color, acording with a percentage

    Thanks for kind words and for reputation point.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. VB Micro, fill cells with color based on percentage
    By EnG_TeLeCoMm in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-21-2021, 11:21 AM
  2. [SOLVED] Partially change font and color of a concatenated string - possible? Please help
    By sumans054 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-01-2019, 09:43 PM
  3. array col acording split NCol and value acording K
    By daboho in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2018, 09:30 AM
  4. Delete CF fill color, replace with regular fill color. Short code, can't figure it out!
    By excelfriend1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2016, 09:03 PM
  5. Numberformat macro partially works, color changes, dateformat not
    By gertassen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2015, 11:10 AM
  6. [SOLVED] Click oval option button to fill/unfill color, also change border color to match fill
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-07-2015, 08:29 PM
  7. Replies: 3
    Last Post: 07-10-2014, 08:11 PM

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