+ Reply to Thread
Results 1 to 4 of 4

Trying to assign a value to cells based off of predetermined criteria

Hybrid View

  1. #1
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to assign a value to cells based off of predetermined criteria

    Hello sclog,

    Welcome to the forum!
    In cell C2 and copied down, give this formula a try:
    =IF(COUNTIF(D:D,D2)>250,"Bi",IF(ISNUMBER(SEARCH("Mr",D2)),"ID","Ts"))
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Registered User
    Join Date
    01-16-2015
    Location
    Irvine, CA
    MS-Off Ver
    2007
    Posts
    7

    Re: Trying to assign a value to cells based off of predetermined criteria

    Thank you for replying tigeravatar. This formula worked for Ts, and Bi, which was a huge help. But it doesn't seem to work for the cells labeled Id.

    I was thinking about using the Instr function in my macro to help with that. Do you think that could solve my issue? Or should I just add more to the formula you provided?

    EDIt: Nevermind I am clearly wasn't paying attention it works fine. Thank you TigerAvatar.
    Last edited by sclog; 01-16-2015 at 06:23 PM.

+ 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. [SOLVED] Assign Yes/No to Cell Based on Meeting Some Criteria
    By chicity26 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2014, 10:39 AM
  2. [SOLVED] Copy and paste row from different tab based on 2 different criteria, assign to button
    By AndrewL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2014, 12:55 AM
  3. Assign String Value Based On Criteria
    By rtabaldi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2014, 10:32 AM
  4. Inserting text based on a predetermined criteria early in the macro
    By MonkeyFlyer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2012, 06:06 PM
  5. [SOLVED] saving file name based on value in predetermined cell
    By jatman in forum Excel General
    Replies: 5
    Last Post: 05-24-2006, 08:36 AM

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