+ Reply to Thread
Results 1 to 7 of 7

If "A" Column is Bold Text, then "D" Column should return specific text value

  1. #1
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    If "A" Column is Bold Text, then "D" Column should return specific text value

    Dear Forum,

    I am searching the formula for the following situation:

    1. I have a master sheet which has A : D column
    2. "A" column has a list of individual's name.
    3. "B" and "C" column respectively their Age and Gender
    4. "D" column is their status of visit to counseling center (Options are "1st Time" or "Follow-Up")

    My requirement is:

    1. Conditional formatting was done in "A" Column to highlight 2nd time visit names with bold and background color.
    2. Now i wanted to have "D" Column should be automatically choose either "1st Time" or "Follow-up". (I have tried ISTEXT, SEARCH, GET.CELL options, but no results) based on "A" Column.

    If "A" column has bold text with color filled, then "D" column should return as "Follow-up" (text value)
    If "A" column has general text without bold and color filled, then "D" column should return as "1st time visit" (text value)


    Kindly guide me.

    Regards

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: If "A" Column is Bold Text, then "D" Column should return specific text value

    Unfortunately, Excel formulas do not have these kind of capabilities such as recognizing colors or formats. For this you have to look for solutions that require VBA.
    Best regards,
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: If "A" Column is Bold Text, then "D" Column should return specific text value

    What was the conditional formatting formula that you used to get bold and colour in column A?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: If "A" Column is Bold Text, then "D" Column should return specific text value

    Dear Mr. Glenn,

    Nice to see you again here, I have used =COUNTIF($C$4:C4,C4)>1 this one. I have attached worksheet for your kind reference.

    For your reference:

    1. i have done a "define name" for getting bold cell and the name is "bold cell".
    2. The "G" Column should be only automatically getting "New" or "Repeat Visit" (Text value).
    3. Just i have tried one formula in "K" column. But no proper result.

    Thanks in advance
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: If "A" Column is Bold Text, then "D" Column should return specific text value

    Sorry, I just saw your post and I have to go now. In the attached sheet, I have used a CF formula to BOLD cells if the cell is an EVEN number. I have used a CF formula to fill with RED if the number is exactly divisible by 4. So you can have plain cells, bold cells or bold red cells. I then used another formula to get the sort of result you wanted. Can you adapt this?
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: If "A" Column is Bold Text, then "D" Column should return specific text value

    Dear Mr. Glenn,

    Thanks for your efforts. I went through this formula and tried to adopt this formula to my content, But logically it is not meet the requirement. Could you please go through the attachment? which i have shared. Simply i want that, either based on background color or Bold text of the cell in "C" column, i need that return as "Repeat" otherwise "New" in "G" Column.

    Thanks
    Attached Files Attached Files
    Last edited by bala04msw; 08-25-2016 at 01:28 AM. Reason: Missing points

  7. #7
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: If "A" Column is Bold Text, then "D" Column should return specific text value

    Dear Glenn,

    Thanks for your time. Now I have found other option for this requirement. Can you guide me.. is it ok?

    Process are as follows:

    1. I have set up one helper column (in K column)with this formula "=COUNTIF($C$4:C4,C4)" to find out exact number of times visit by the individual.

    2. Based on the helper column, i have applied If condition (in G Column)"=IF(K4=0,"",IF(K4=1,"NEW",IF(K4=2,"REPEAT",IF(K4>=3,"MREPEAT","-"))))" to return my requirement as "New", "Repeat".

    Finally i got the result. Is is ok? orelse is there anyother direct method is there?

    Regards

+ 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. Search Text Column "A" copy and paste column "H"
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2015, 04:52 AM
  2. Need to apply filter by contain all text as "mathew" in column "D"
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2014, 08:47 AM
  3. Replies: 1
    Last Post: 08-15-2014, 06:00 AM
  4. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  5. [SOLVED] Find multiple "text" criteria and return as ""Yes" in Matrix
    By bertrand82 in forum Excel General
    Replies: 11
    Last Post: 04-30-2012, 09:20 AM
  6. Need to copy text from full "A" column to "A" column on new sheet....
    By Stonesifer in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-15-2011, 02:50 PM
  7. [SOLVED] How do I split "A1B2" into "A1" and "B2" using text to column fun.
    By Jennifer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2005, 06:06 PM

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