+ Reply to Thread
Results 1 to 6 of 6

How to use IF function for cell range

  1. #1
    Registered User
    Join Date
    09-02-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Post How to use IF function for cell range

    Hello,
    I've excel file with large data, where everyday data value changing so I make an example like
    Column A Column B
    A2=Banana (B2=Potato)
    A3=Apple (B3=Apple)
    A4=Orange (B4=Tomato)
    A5=Grapes etc..

    Now I want to create formula in Column 'C' if B2 available in range A2:A10 then "in list" otherwise "not in list"
    Can anyone help me figure out..

    Thanks in advanced.
    Bibash
    Last edited by bibash; 04-22-2017 at 02:35 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How to use IF function for cell range

    maybe try: =IF(IFERROR(MATCH(B2,$A$2:$A$11,0)>0,0),"In list","Not in list"), change references accordingly

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How to use IF function for cell range

    An alternative:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    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: How to use IF function for cell range

    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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

  5. #5
    Registered User
    Join Date
    09-02-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to use IF function for cell range

    Tq it's greatly worked.

  6. #6
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: How to use IF function for cell range

    Glad we could help and thanks for marking the thread as Solved .

+ 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: 5
    Last Post: 04-07-2016, 03:34 AM
  2. [SOLVED] Using a range's address written in a cell as an argument to a function in another cell
    By mfdabbs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2015, 10:25 AM
  3. Use a function as the starting cell of a range
    By joynobel in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-17-2010, 12:27 PM
  4. Range function in cell
    By philmetz in forum Excel General
    Replies: 1
    Last Post: 09-26-2009, 09:06 AM
  5. Value of cell to determine range in MAX Function
    By geoff_durham@hotmail.com in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-18-2006, 02:40 PM
  6. Function to determine if any cell in a range is contained in a given cell
    By choxio@yahoo.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2005, 01:06 PM
  7. function cell range limitations
    By AXA in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2005, 08: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