+ Reply to Thread
Results 1 to 3 of 3

Find and copy value/text ifs

  1. #1
    Registered User
    Join Date
    06-04-2014
    Posts
    34

    Find and copy value/text ifs

    Hello!
    I have a sheet with dates and i would like a formula/function to show values if they match the dates. I'm thinking a formula something like this:

    =IF(A1=C1:C5;A2;"")

    I have tried to write it as above but I only get #VALUE! error. I have also tries to write it like this:

    =IF(A1=(C1;C2;C3;C4;C5);A2;"")

    But then Excel tells me that I have entered to many arguments.

    So, basically I want the formula to present a cell value if a certain value can be found within a range of other cells.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Find and copy value/text ifs

    Please Login or Register  to view this content.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    06-04-2014
    Posts
    34

    Re: Find and copy value/text ifs

    That was FAST Thanks a lot!

    It work exactly as I want to. Althogh, for the cells that don't matches there is gap with empty cell. If there a way avoid that and tp compress the list? As for A2, A3 and onward...
    Thanks!

+ 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] To Find every instance of TEXT copy, repeat until no Find found
    By DadaaP in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2013, 02:15 PM
  2. Find text and copy row(s) to another worksheet
    By selsley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2013, 04:20 PM
  3. Find text in cell then copy everything after that text
    By boss1982 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2013, 08:21 AM
  4. Find text and copy and move row containing it
    By gjpcoach in forum Excel General
    Replies: 5
    Last Post: 02-24-2006, 04:32 PM
  5. open some txt files ,find text , copy the text before that to a single cell
    By gus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2005, 01:05 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