+ Reply to Thread
Results 1 to 4 of 4

Problems returning a cells contents in a range of cells

  1. #1
    Registered User
    Join Date
    11-12-2014
    Location
    Merseyside
    MS-Off Ver
    2007
    Posts
    2

    Problems returning a cells contents in a range of cells

    Hi All,

    I am having problems with returning a cell's contents in a range of cells if it exists.

    I have attached a spreadsheet for what I am trying to put together & I need column H to return a Yes if that person was present at any time during that month. The problem I am having is that my current formula will only return a Yes if they were present in the first week!

    I have looked through the formula list & have looked on the internet & cant find a solution.

    PLEASE HELP.

    Thanks,

    Liam
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Problems returning a cells contents in a range of cells

    =IF(COUNTIF(B2:G2,"yes"),"yes","")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-12-2014
    Location
    Merseyside
    MS-Off Ver
    2007
    Posts
    2

    Re: Problems returning a cells contents in a range of cells

    Hi martindwilson,

    I have just tried that formula and it returned a Yes even if none of the cells contained a Yes

    Thank you for the quick reply & your help though

    Liam

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Problems returning a cells contents in a range of cells

    no it doesn't, but you say Month where is the month ? there are never 6 weeks in a month
    in your example only rows 8,34,35,36 do not have yes in them

+ 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. Replies: 4
    Last Post: 08-04-2014, 04:48 AM
  2. Running a WorksheetFunction on a Range of Cells and returning results in 2nd Range
    By excelforum123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2013, 12:23 PM
  3. Returning the contents of a specific cell using a MATCH of 2 other cells
    By oneblondebrow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-08-2013, 08:41 AM
  4. Returning a range of cells?
    By Gil-Dale in forum Excel General
    Replies: 3
    Last Post: 06-03-2009, 06:49 AM
  5. Returning a range of cells
    By golfman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2007, 06:50 PM

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