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

  • SEARCH
  • Home
  • 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 191755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:22:06+00:00 2026-05-11T16:22:06+00:00

I have an Excel sheet The requirement is to sum the digits in the

  • 0

I have an Excel sheet
alt text

The requirement is to sum the digits in the cells in column ‘C’ and put the value in the corresponding cell in column ‘B’ (in my example 0.25 + 1 + 0.25 + 1 = 2.5).

The values in Column ‘C’ could change. The requirement is to update the value in ‘B’ as soon as the cell in column ‘C’ changes.

I did ask the creator to change to text and numbers in two different columns but that is not acceptable because of the standard template.

  • 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-05-11T16:22:07+00:00Added an answer on May 11, 2026 at 4:22 pm

    This can be achieved, without altering the text in the cell, using a Macro.
    I have to admit, the implementation will be a little retarded, since you need to do a few things.

    1 – Tokenize the entire cell content, and store the tokens into a string array.

    There is a problem already. The text located inside the cell is grossly inconsistent. You have -250 ms, – 250 ms, – 1sec, – 1 sec. Due to this, you are going to need to check for each instance. Therefore, you cannot just check if the value is a number, you need to check all the permutations that your team members have conveniently provided for you.

    The best way to do this would be to check against Regular Expressions. Therefore, #2 should be:

    2 – Check each value to see if it matches to one of many 4 Regular Expressions.

    3 – Depending on the Regex it matches with, extract the numerical value.

    a) If simply a value (ie->250), check if ms or sec proceeds the value. IF ms, divide the number by 1000. If sec, leave number as is. Add number to total.
    b) If a number preceded by a dash(-), remove dash, and repeat step a)
    c) If a number followed by letters, remove letters and repeat step a)
    d) If a number followed by a period, do nothing. This is a bullet point.

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

Sidebar

Related Questions

I have an Excel Sheet with values going in each column from cells 2:21
I have a requirement to do some imports from an Excel spread sheet and
I have an Excel sheet with two column, one is a number , and
I have an excel sheet and on column J, I have a start number
I have a requirement to take the test data from Excel sheet and write
I have an excel sheet with some cells having some background color. I need
my requirement is to read all rows of an excel-sheet in first column that
I have an Excel sheet. The top row corresponds to column names while successive
I have a requirement to log to an excel sheet in the server, the
I have a excel sheet tab with following values Class Date A 07/07/2000 B

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.