Forum Discussion

Jamil's avatar
Jamil
Bronze Contributor
Mar 19, 2018

Re: sum by color when colors are set by conditional formatting

Can you post a screenshot of dummy data or a dummy excel file?

10 Replies

    • Jamil's avatar
      Jamil
      Bronze Contributor
      Hi
      If you read my earlier posts. you will see that I mentioned that for the UDF to work. CF needs to be creating using formula. I checked your CFs are not creating using Formula and that is why it does not work. If you change your CFs to be based on formula then it will work.
  • Cara Pfaff's avatar
    Cara Pfaff
    Copper Contributor

    Hi!  I've also been getting the #Value error.  I copied and pasted the Count version of the VBA.  Screen shot attached let me know if you need more.  I entered the RGB color codes so they are exact.

    • Jamil's avatar
      Jamil
      Bronze Contributor

      Sometimes this happens, if you have an external Add-in or there are some codes in the PERSONAL.XLSB workbook.

      click on the cell that has #Value error and then press F2 to go to Edit mode and then enter again. if you see the VALUE error disappear that means that the error is caused by some external add-in or your personal.xlsb workbook that is in the start up folder.

       

      If you can share a dummy example file, I can take a look at it.

Resources