+ Reply to Thread
Results 1 to 8 of 8

Highlighted Cells

  1. #1
    Registered User
    Join Date
    03-19-2021
    Location
    Spain
    MS-Off Ver
    365
    Posts
    56

    Highlighted Cells

    Hello
    Is there a way of Summing the highlighted cell in a row please

    John

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Highlighted Cells

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-19-2021
    Location
    Spain
    MS-Off Ver
    365
    Posts
    56

    Re: Highlighted Cells

    Attachment included
    Attached Files Attached Files
    Last edited by John Henworth; 05-12-2021 at 04:49 AM.

  4. #4
    Forum Contributor
    Join Date
    05-09-2021
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    148

    Re: Highlighted Cells

    Hello John,

    This should be very possible. I tested to record a macro while changing cell color and there are specific values to check if a cell is highlighted or not. Below would sum all cells that are not highlighted at all.

    You just need to define the cells that needs to be checked, loop through them and assign each to the range-variable.. you might want to confirm that the highlighted cell is actually a number


    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-19-2021
    Location
    Spain
    MS-Off Ver
    365
    Posts
    56

    Re: Highlighted Cells

    Hello
    Thanks for your reply but it is far to advanced for me
    On my attachment the ones I want to add up are the yellow ones

  6. #6
    Forum Contributor
    Join Date
    05-09-2021
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    148

    Re: Highlighted Cells

    Hello John,

    Your example does not fit your question....

    Do you want to count highlighted Cells containing Home (6) and Away (2) ? or both together (8)?

    Is the table dynamic in size? Add as much information as you can.

  7. #7
    Registered User
    Join Date
    03-19-2021
    Location
    Spain
    MS-Off Ver
    365
    Posts
    56

    Re: Highlighted Cells

    Hello
    I can highlight the cells that are correct, what I want is a column to add up the cells I highlight for the correct result
    sorry for the confusion

  8. #8
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Highlighted Cells

    https://www.exceltip.com/custom-func...oft-excel.html

    has worked for me in the past, as a function rather than a subroutine that needs to be run

+ 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. Google Sheets - I need help in highlighting cells and getting sum of highlighted cells
    By eyah002 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 12-19-2020, 08:48 AM
  2. Replies: 0
    Last Post: 12-19-2020, 08:48 AM
  3. Replies: 0
    Last Post: 12-19-2020, 08:48 AM
  4. Macro to select X number of cells below highlighted cells
    By Ptansley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2019, 04:08 AM
  5. Replies: 3
    Last Post: 12-09-2015, 02:05 PM
  6. Nested Loop inside pivot to highlight Cells, But Cells don't stay highlighted!
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2014, 05:00 PM
  7. Highlight cells for data entry but print workbook with no highlighted cells
    By kheino1111 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2014, 06:51 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