+ Reply to Thread
Results 1 to 10 of 10

Formula to Check for Data

  1. #1
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Formula to Check for Data

    Hi,

    Am trying to create a formula that will check to see if one cell is positive for data and if yes display data from another cell otherwise cell is null.

    Where would I begin?

    Thanks
    Karl
    Last edited by karl_009; 04-16-2010 at 10:29 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula to Check for Data

    Hi Karl,

    without a concrete example, I'll just have to makes something up.

    A1 is 77 - a number
    B1 is "very old" - a text string

    In C1, you can enter a formula that will return the value of B1 if A1 meets a certain criterion. So

    =if(A1=55,B1,"")

    This will return a blank, since the criterion is not met.

    =if(A1=77,B1,"")

    This will return "very old", which is the content of B2, because the condition A1=77 is met.

    Does that help?

  3. #3
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Re: Formula to Check for Data

    Hi,

    Thanks for the reply, got this working now using;

    =IF(ISTEXT(E8),A2,"")

    Many Thanks
    Karl

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula to Check for Data

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Re: Formula to Check for Data

    Hi,

    One final question, I am using ISTEXT, if I wanted to check for text and numbers on there own how I would do that within the same formula.

    Thanks
    Karl

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula to Check for Data

    it depends.

    What is the possible content of E8?

    Text? Numbers? Empty? Any combination of these?

    And for what condition would you want to return the value in A2? If it is text? If it is not text? If it is a number? If it is not a number?

    please specify the requirements.
    Last edited by teylyn; 04-16-2010 at 06:39 AM.

  7. #7
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Re: Formula to Check for Data

    Hi,

    Here is the file that I am using;


    Thanks
    Karl
    Attached Files Attached Files

  8. #8
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula to Check for Data

    Fine.

    And you'd like to see -- What? -- Where? -- Why?

    Please specify and describe your requirements in plain terms and mock up a few expected results.

  9. #9
    Registered User
    Join Date
    04-09-2008
    Posts
    65

    Re: Formula to Check for Data

    Hi,

    If there is any type of data in E8 whether it text, number or combinations of both I would like to have the data in A2 displayed in D8.

    See spreadsheet in pervious post.

    Thanks
    Karl

  10. #10
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula to Check for Data

    starting in D2

    =IF(ISBLANK(E2),"",A2)

    copy down

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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