+ Reply to Thread
Results 1 to 6 of 6

INUMBER returning a value in another cell

  1. #1
    Registered User
    Join Date
    07-30-2015
    Location
    Sweden
    MS-Off Ver
    office 2013
    Posts
    5

    INUMBER returning a value in another cell

    Hello,

    im trying to get this to work =IF(ISNUMBER(SEARCH(F18;G18)); "=B2"; "0")

    So if F18 and G18 cells match, i want it to return the number in cell B2, or else a zero.

    Regards
    Dexel

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: INUMBER returning a value in another cell

    Hi Dexel,

    Try this formula,

    =IF(F18=G18,B2,0)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: INUMBER returning a value in another cell

    If you're searching for G18 within F18 use this

    =IF(ISNUMBER(SEARCH(G18,F18)),B2,0)

    though MarvinP's solution reflects your description of the problem
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    07-30-2015
    Location
    Sweden
    MS-Off Ver
    office 2013
    Posts
    5

    Re: INUMBER returning a value in another cell

    Thank you, both of them work.

    Except that i cant use "," but have to use ";" instead. Dont know why.

    //Dexel

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: INUMBER returning a value in another cell

    Locale settings

  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: INUMBER returning a value in another cell

    Quote Originally Posted by Dexel View Post
    Except that i cant use "," but have to use ";" instead. Dont know why.//Dexel
    That's because of your regional settings. Countries which use full stops for decimals (12.34) (like the UK and USA) use commas in formulae. Countries which use commas to separate decimal numbers (12,34) (like Sweden) have to use semi-colons in formulae instead, so that Excel doesn't get confused between decimal separators and formula separators.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

+ 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: 05-29-2013, 04:18 AM
  2. Replies: 10
    Last Post: 01-17-2013, 11:01 AM
  3. Replies: 3
    Last Post: 11-28-2012, 09:00 AM
  4. Replies: 1
    Last Post: 10-26-2012, 01:21 PM
  5. Replies: 2
    Last Post: 10-12-2012, 11:38 PM
  6. Replies: 2
    Last Post: 06-22-2012, 08:51 AM
  7. Replies: 3
    Last Post: 05-03-2012, 04:00 PM
  8. Replies: 6
    Last Post: 09-16-2010, 05:19 AM

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