+ Reply to Thread
Results 1 to 6 of 6

How to make excel formula to ignore text in formula

  1. #1
    Registered User
    Join Date
    12-08-2020
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    1

    Lightbulb How to make excel formula to ignore text in formula

    To make the formula more interactive, is there any way we can write text and numbers in formula and excel perform mathematical operation ignoring the text

    Cell A1= 8 trucks * 6 cubic meter per truck * 100 trips;
    and answer should be 480.

    Is it possible ? How ?

  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,662

    Re: How to make excel formula to ignore text in formula

    You won't like this, but I'm being honest.

    Forget it.

    This will TOTALLY destroy the fiunctionality of Excel. Unless you ware doing this on a one-off basis, or (maybe) if your texts are TOTALLY standardised, this will be a total nightmare. Maybe someone can come up with a smart-looking way of doing this, but it will drive you mad in the end. Seriously, honestly... just don't go there.

    If you want something that LOOKS like that, see the file.
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    12-03-2020
    Location
    Bangkok,Thailand
    MS-Off Ver
    365
    Posts
    29

    Re: How to make excel formula to ignore text in formula

    Just for fun, try this at B1.

    =PRODUCT(IFERROR(--TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",100)),1+(ROW($A$1:$A$30)-1)*100,100)),1))

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,842

    Re: How to make excel formula to ignore text in formula

    C1 cell , array formula

    HTML Code: 

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: How to make excel formula to ignore text in formula

    Just for fun only not serious

    6*8*100<>480
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,842

    Re: How to make excel formula to ignore text in formula

    6*8*100 should be 4800, not 480 maybe it's a clerical error

+ 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. make formula ignore hidden cells
    By Maoz115 in forum Excel General
    Replies: 6
    Last Post: 09-20-2020, 09:31 AM
  2. [SOLVED] Using IFERROR to Make Complex Formula Ignore Error
    By DGARDNERMAN in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-03-2018, 12:50 PM
  3. Replies: 6
    Last Post: 01-04-2017, 11:20 AM
  4. Help with VBA to make concatenated Excel formula text appear in bold...
    By ArsenalCityGent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2015, 01:55 PM
  5. [SOLVED] how to make a formula ignore blank cells
    By Snap in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2006, 08:00 PM
  6. Ignore Text for Formula
    By JohnHill in forum Excel General
    Replies: 2
    Last Post: 04-25-2006, 09:26 PM
  7. How do i make a sum formula ignore #div/0! errors in the range
    By shat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-22-2006, 09:50 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