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 8655305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:59:42+00:00 2026-06-12T14:59:42+00:00

I have a large Excel table (591 cols, 2645 rows) with a basic format

  • 0

I have a large Excel table (591 cols, 2645 rows) with a basic format that looks something like this:

| Time | Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 | Data 7 |
|======+========+========+========+========+========+========+========|
| 0.01 |  0.35  |        |        |        |        | 0.1351 | 0.2398 | 
| 0.02 |        |  0.42  |        |        |        | 0.4314 | 0.4342 | 
| 0.03 |        |        |  0.99  |        |        | 0.3414 | 0.4321 |
| 0.04 |        |        |        |  0.12  |        | 0.4351 | 0.4256 |
| 0.05 |        |        |        |        |  0.66  | 0.7894 | 0.9874 |

This is basically a recording of a data stream where some fields are sampled only once every time step, while others are sampled on every individual time step. An entire “record”, then, is recorded once the loop is finished (ie, “Data 1” is written again).

The final data record, for the purposes of data processing and analysis, looks something like this:

| Time | Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 | Data 7 |
|======+========+========+========+========+========+========+========|
| 0.05 |  0.35  |  0.42  |  0.99  |  0.12  |  0.66  | 0.7894 | 0.9874 | 

Notice that the timestamp is equal to a timestamp found in the table, that the recurring data fields are equal to the data values at that time, and that the periodic data fields are equal to the last reported value for each of those fields.

The record for a single loop then would basically consist of the final value recorded for any field within the given timeframe. I can do this easily for a single step of this, but I have 2600+ row of data to process per data set and half a dozen data sets to process.

Is there a clean/simple/pragmatic way to do this across the entire data file? I could brute force this any number of ways, but I’m hoping to not have to reinvent the wheel. If I could write the output to a new worksheet, that’d be great.

  • 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-12T14:59:43+00:00Added an answer on June 12, 2026 at 2:59 pm

    Here’s the solution I wound up using …

    First, I created a second sheet (Sheet 2), copied the header row, and set each record in the first row equal to the first record in the first row on the first sheet (Sheet 1). If the first row in Sheet 1 had an empty value, I replaced it with a zero. For example:

    =IF(Sheet1!A2="",0,Sheet1!A2)
    

    Then I used a formula to conditionally copy the value from Sheet 1 to Sheet 2 or to use the value above the current cell in Sheet 2. For example, in B3 (second record, first field):

    =IF(Sheet1!B3="",B2,Sheet1!B3)
    

    I then copied this to every cell in Sheet 2 that had a source value available in Sheet 1. The result looked like this:

    | Time | Data 1 | Data 2 | Data 3 | Data 4 | Data 5 | Data 6 | Data 7 |
    |======+========+========+========+========+========+========+========|
    | 0.01 |  0.35  |  0     |  0     |  0     |  0     | 0.1351 | 0.2398 | 
    | 0.02 |  0.35  |  0.42  |  0     |  0     |  0     | 0.4314 | 0.4342 | 
    | 0.03 |  0.35  |  0.42  |  0.99  |  0     |  0     | 0.3414 | 0.4321 |
    | 0.04 |  0.35  |  0.42  |  0.99  |  0.12  |  0     | 0.4351 | 0.4256 |
    | 0.05 |  0.35  |  0.42  |  0.99  |  0.12  |  0.66  | 0.7894 | 0.9874 |
    

    From this, I was able to generate relevant plots to analyze the data effectively.

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

Sidebar

Related Questions

I have a large reporting table in Excel that looks similar to the following.
I have a large spreadsheet in Excel 2007 OpenXML format that I want to
I have a large table I imported from an Excel spreadsheet. For five of
I have a fairly large Excel file. In this file there is a column
I have a large data set that I'm working with in excel. About 1000+
I have a large excel file that is used to aggregate tracking for issues
Problem: I have a large table, with say 20 columns, and 150 rows. The
I have an Excel workbook with two sheets: sheet1 has a large table of
I have an application that takes a table of data from Excel, and imports
I have a large excel document that is generated when the user clicks on

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.