Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9071429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:54:41+00:00 2026-06-16T17:54:41+00:00

I have this as a few cells in excel 2010: (source: gyazo.com ) There

  • 0

I have this as a few cells in excel 2010:


(source: gyazo.com)

There are a few things I am trying to accomplish, though they’re really all variations of the same thing.

In both Price Paid and Price Returned, I have values that can either be formatted as “# (type)” or as an expression of the form “# (type)+# (type2) …”. What I’m trying to do is reduce the expressions from their current state into just numerical values. I’ve figured out how to do it if it is just the first case (“# (type)”), however I’m having issues with doing the second case, since the parse stops after the first instance of ” “. Below I have the code that I’m using in both Numerical Paid and Numerical Returned. The ISNUMBER category is there just to show which things register as numbers and which don’t.

Numerical Paid and Numerical Returned Code:

=INT(IF(ISNUMBER(D2),D2,LEFT(D2,FIND(" ",D2,1)-1)))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T17:54:45+00:00Added an answer on June 16, 2026 at 5:54 pm

    I did some more google searching and found that someone had already written a VBA function to do this. Lovely.

    I’ve linked the source below.

    http://www.vbusers.com/code/codeget.asp?ThreadID=624&PostID=1

    All I had to do was replace the “.,” with “+-/*”, so that it’ll handle all operations. Simple, elegant, and useful. Afterwards, I used the solution posted here (as an answer to another one of my questions):

    How to make a cell equal to the value of an expression in another cell (Excel 2010)?

    to evaluate the resulting string.

    Thanks everyone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form with a few text-boxes and a Grid-view. There is this
I'm using Datatables and have this jquery plugin showing in a few columns http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
I have a loop which basically calls this every few seconds (after the timeout):
i have this few lines of code FilterCondition CustomerID = new FilterCondition(Customer_ID,cust.Customer_ID,FilterCondition.FilterOperator.Equals); List<FilterCondition> conditions
I have tried this a few different ways and it always seems to fail.
So I am pretty new to JSP. I have tried this a few ways.
I have researched this for a few hours and I am kind of frustrated.
I have this relatively large numerical application code that may run for a few
I have this mail script I have to run a few times. To start
I have this project that it's due in a few hours and I still

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.