+ Reply to Thread
Results 1 to 6 of 6

some cells not returning required answers

  1. #1
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    some cells not returning required answers

    See the attached file.

    I did not set this area up initially so I do not know just how it was formatted.

    The problem is down after Row 36, Column ( L & N)

    The first 4 rows returns a YES when a Y is entered in column L, Or a NO when a N is entered in column N.

    The rows from 38 and down do not follow on.

    If possible I would like all the same

    Regards

    Peter
    Attached Files Attached Files
    One I have learnt over the last few months, " You are NEVER too old to learn ".
    Sometimes I forget to say " Thank You " for your assistance, so here I say " A BIG Thank You. "

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,484

    Re: some cells not returning required answers

    It's because of the gap in row 37.

    Here's what I'd do:

    1. Delete all y and n entries in L38 to N41.
    2. In L37, type Yes, in N37, type No.
    3. Select L37 to N37 and set the text colour to white so you can't see the text.
    4. Test: type y into L38 and you should get the effect you want.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,508

    Re: some cells not returning required answers

    In addition, there is some VBA which changes (some of) the entries e.g C8) to upper case.

    Personally, I would remove it as it adds no value (and the list to change is both incorrect and incomplete),

    To remove it, right click on "Sheet1" tab, select "View code" and delete

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,484

    Re: some cells not returning required answers

    That was requested and added following Peter's earlier thread. I agree - it's not needed.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,508

    Re: some cells not returning required answers

    I wasn't aware of the earlier post: updated VBA

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor Potholes's Avatar
    Join Date
    11-25-2011
    Location
    Brisbane
    MS-Off Ver
    Office 2021
    Posts
    774

    Re: some cells not returning required answers

    Many THANKS TO ALL THAT TOOK THEIR TIME TO ANSWER

    Regards

    Peter

+ 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] Comparing 2 values and returning 3 possible answers
    By Bash66 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2019, 12:43 AM
  2. [SOLVED] returning all answers IF criteria are met
    By swfarm in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 01-28-2019, 06:20 AM
  3. Returning multiple answers
    By Salisbury in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-20-2017, 11:17 AM
  4. [SOLVED] IF Formula required to bring back specific answers
    By karimel_romeo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-14-2013, 09:43 AM
  5. [SOLVED] VLOOKUP returning multiple answers from table
    By Cyclewench in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-06-2013, 03:18 AM
  6. [SOLVED] Need help on returning different answers based on different results - Comparing Sales
    By ec4excel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-21-2012, 01:02 PM
  7. If question returning 2 answers
    By P357 in forum Excel General
    Replies: 11
    Last Post: 08-29-2008, 10:44 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