+ Reply to Thread
Results 1 to 4 of 4

Creating a Flag based on cell value

Hybrid View

  1. #1
    Brian Taylor
    Guest

    Re: Creating a Flag based on cell value

    You shouldn't need a UDF for that. Try this formula and drag down:

    =IF(MOD(SUM(($A$5:A5="Key")*1),2)=1,"Yes","No")

    It is an array formula so be sure to use ctrl shift enter.


  2. #2
    Tom Ogilvy
    Guest

    Re: Creating a Flag based on cell value

    in cell Y1
    =MOD(COUNTIF($X$1:X1,"Key"),2)

    then drag fill down the column

    would also work.

    --
    Regards,
    Tom Ogilvy

    "Brian Taylor" wrote:

    > You shouldn't need a UDF for that. Try this formula and drag down:
    >
    > =IF(MOD(SUM(($A$5:A5="Key")*1),2)=1,"Yes","No")
    >
    > It is an array formula so be sure to use ctrl shift enter.
    >
    >


  3. #3
    Brian Taylor
    Guest

    Re: Creating a Flag based on cell value

    I've been out done! Nicely done Tom. I guess I get stuck on array
    formulas sometimes. Better to avoid them if you can.


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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