Closed Thread
Results 1 to 2 of 2

Convert a cell from text to number then carry out a formula

  1. #1
    Registered User
    Join Date
    10-08-2020
    Location
    Cambridge, UK
    MS-Off Ver
    Office 365
    Posts
    11

    Convert a cell from text to number then carry out a formula

    Hello,

    I need to write a formula that looks at a cell which in text format but which has a leading number at the start of the text which I need for the rest of the formula to look at this number and see if it is greater than a value in another cell.

    In the example attached, ideally I would like a one-step formula written in cell C6 that looks at the text in cell A6, takes the leading number, in this case 12 then does an 'IF' function from the number 12 and checks that it is greater than 3. If so, return a '1', if not, then a '0' in cell C6.

    If this formula cannot convert the text in cell A6 in one step then I have added column B headed 'stage' which can have another formula to convert cell A6 from text to number if required.

    The idea being is that I am trying to automate this spreadsheet as much as possible so that when new raw data is populated in column A, the formula's kick in and update the values without manual intervention.

    Any help would be much appreciated. Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,328

    Re: Convert a cell from text to number then carry out a formula

    Only one thread per topic is allowed. Read my last post in your parallel thread,
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need a formula to carry over text from tab to tab
    By weaverswonders6 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-15-2019, 10:23 AM
  2. [SOLVED] convert text to number with a formula
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2014, 05:20 PM
  3. Convert Cell Formula to Convert Text to VBA Code
    By PY_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2014, 05:51 PM
  4. Need help with formula to convert text from one column to number in another
    By lhansberry in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-01-2013, 01:02 PM
  5. formula to take text relating to cell and carry into another cell
    By tswift01 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-16-2012, 03:28 PM
  6. Excel 2007 : use formula to convert text to number
    By fentontech in forum Excel General
    Replies: 3
    Last Post: 11-15-2011, 11:11 AM
  7. Convert Number to Text in cell
    By fvlmasl2 in forum Excel General
    Replies: 1
    Last Post: 05-12-2005, 01:52 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