+ Reply to Thread
Results 1 to 7 of 7

Function Ifcolorandtextthen or rewrite SUMifs with color as a criteria

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    Cph, DK
    MS-Off Ver
    Excel 2010
    Posts
    14

    Function Ifcolorandtextthen or rewrite SUMifs with color as a criteria

    Hi all,

    I have a problem which i hope that some of you might be able to help me with. I have made a VB function that takes both color and text of a cell into account. If both text and color are matched then i need the value of a cell in the same row but in a different colum.
    Please Login or Register  to view this content.
    I hope one of you excel wizds can help me...

    thx.
    Last edited by Slowfish; 04-18-2012 at 10:46 AM. Reason: Please put code tags in future.

  2. #2
    Registered User
    Join Date
    04-18-2012
    Location
    Cph, DK
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Function Ifcolorandtextthen

    It can maybe also be solved with a variation of the SUMifs function if only it could take colors/formating into account
    Last edited by Slowfish; 04-18-2012 at 10:40 AM.

  3. #3
    Registered User
    Join Date
    04-18-2012
    Location
    Cph, DK
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Function Ifcolorandtextthen

    Can no one help??? As you guys might have have noticed I'm kinda new to all this VB stuff, but i really need this to work...

  4. #4
    Registered User
    Join Date
    04-18-2012
    Location
    Cph, DK
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Function Ifcolorandtextthen

    I have have made an example for you guys to see... It might make easier...Example.xlsm

    I need to sum the values of a and b accordingly to color coding...
    Last edited by Slowfish; 04-18-2012 at 08:49 AM.

  5. #5
    Registered User
    Join Date
    04-18-2012
    Location
    Cph, DK
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Function Ifcolorandtextthen or rewrite SUMifs with color as a criteria

    Does anyone at least know if it can be done?

  6. #6
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Function Ifcolorandtextthen or rewrite SUMifs with color as a criteria

    try it
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-18-2012
    Location
    Cph, DK
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Function Ifcolorandtextthen or rewrite SUMifs with color as a criteria

    Thanks a lot Nilem!

    It seems like it works...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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