+ Reply to Thread
Results 1 to 4 of 4

Not return result if data is in a certain cell (Bad Description)

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Not return result if data is in a certain cell (Bad Description)

    Hi guys, so as above i wasn't sure to word exactly what i need.. still an amateur.

    Its hard to describe but i've attached a excel workbook with a description inside of what i need!

    its basically making this formula v
    =IF(E4="","",VALUE(RIGHT(E4,LEN(E4)-SEARCH("-",E4)))-VALUE(LEFT(E4,5)))
    Not return data if Column H3:H31 Has text in it.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,102

    Re: Not return result if data is in a certain cell (Bad Description)

    =IF(OR(E4="",F4<>""),"",VALUE(RIGHT(E4,LEN(E4)-SEARCH("-",E4)))-VALUE(LEFT(E4,5)))

    use an OR to test if F4 is NOT blank
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Re: Not return result if data is in a certain cell (Bad Description)

    You sir, are a genius! this is why i love this forum!
    thank you!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,102

    Re: Not return result if data is in a certain cell (Bad Description)

    you are welcome

+ 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] Return the first value / description of the cell under same column
    By cks1026 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-09-2017, 11:10 AM
  2. [SOLVED] Which formaula give the actual result in description column
    By Imran368 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2016, 02:53 PM
  3. Macro to search a cell description and return a date
    By kevthomas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2015, 12:25 PM
  4. [SOLVED] Replicate data in one cell to another cell dependent on description
    By leebird in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-07-2015, 08:26 PM
  5. [SOLVED] Looking up description and return data
    By JakeMann in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2012, 10:57 AM
  6. Advanced formula - Return result & Show Cell Reference of result
    By Irv in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2006, 10:40 PM
  7. Excel function same description but different result
    By heng in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2005, 03:05 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