+ Reply to Thread
Results 1 to 11 of 11

Sequential Calculations, Is it possible?

  1. #1
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Question Sequential Calculations, Is it possible?

    Hello guys, I need some help.
    I am performing a resistance calculation of a boat, so I can calculate the power of the engine he is going to need. My problem is that I need to calculate the power of the engine for a range of velocities, so, I am using a excel spreadsheet to perform these power calculations and I need to input one value at a time and read out the power for that specific velocity, than do it again and again until all the values of power are calculated for each velocity, so then I can make a graph Velocity x power.
    The spreadsheet must be automated, I am getting the values of velocity from another software and my goal is to show the user this graph I just told you, but for me would be really Easy if I could figure out a macro that does that, input one velocity, than calculate a power, saves the value (or builds an array), than inputs another velocity, calculates another power and saves this other value, and so on.

    I have no idea how to make this gradual input and read of values. Do you have any ideas?

    I thank you for any help since now!

    2016-11-29_22-52-32.jpg

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Sequential Calculations, Is it possible?

    Welcome to the board.

    Have you tried a data table? If you need help with that, please post a workbook, not a picture, and make sure it is well explained.
    Last edited by shg; 11-30-2016 at 12:20 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,844

    Re: Sequential Calculations, Is it possible?

    As shg noted, it is difficult to make suggestions based on a picture.

    I know that, when I want to make several copies of a calculation and be able to change one or a few inputs for each copy of the calculation, I try to arrange the calculation so that it occurs in a single row. With the right combination of relative and absolute references, it is easy to copy the calculations down to make as many copies as are needed. Then change the inputs as desired for each copy. Arranged like this, it is also easy to make the chart, because Excel's chart will be looking for data arranged in rows.

    As a quick example, I posted this example of a simple Monte Carlo simulation http://www.excelforum.com/tips-and-t...l-problem.html . The thing for you to note is how each row is a complete sequence of calculations, where there are two (random) inputs (column A and B of each row), and the results in columns G and J.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Sequential Calculations, Is it possible?

    Thanks guys! I will arrange the spreadsheet and post it here ASAP! =D

  5. #5
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Sequential Calculations, Is it possible?

    I don't know why but I could not attach a file here, it is just no going.
    here is the google drive link for the sheet
    https://drive.google.com/open?id=0B7...zVlT2NOWGRpZEU

    Thanks again guys.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Sequential Calculations, Is it possible?

    Velocity
    1097.57
    D43: =D39
    50
    #N/A
    D44:D50: {=TABLE(,D12)}
    55
    674.75
    60
    826.04
    65
    1000.79
    70
    1200.95
    75
    1428.50
    80
    1685.37


    The formula in D43 references the power output in merged cells D39:E39 (the first thing I would do is get rid of all the merged cells). That's the data table's prototype for the results that appear below.

    C44:C50 is a list of speeds entered by you.

    To create the data table, select C43:D50, Data > What-If Analysis, Data Table, Column input cell: D12, then press OK. That's what makes that formula appear.

    Your model doesn't work for speeds < 55.
    Last edited by shg; 11-30-2016 at 12:47 PM.

  7. #7
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Sequential Calculations, Is it possible?

    Could you send me this example in a sheet?

    Thanks bro

  8. #8
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Sequential Calculations, Is it possible?

    Nerver Mind I got it! Thanks Bro!

  9. #9
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Sequential Calculations, Is it possible?

    When I select the input Cell as D12 it gives no the powers, but repeats the velocities
    2016-11-24_17-26-06.jpg

  10. #10
    Registered User
    Join Date
    11-21-2016
    Location
    brazil
    MS-Off Ver
    2016
    Posts
    13

    Re: Sequential Calculations, Is it possible?

    Made it! I was inserting D12 in the row input cell! haha

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Sequential Calculations, Is it possible?

    You're welcome.

+ 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. [SOLVED] copy sequential columns / paste to non-sequential columns
    By macrorookie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2014, 04:59 PM
  2. Replies: 3
    Last Post: 01-30-2014, 05:31 AM
  3. [SOLVED] Create sequential letters (A, B, C) in sequential cells
    By Theale in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-29-2012, 02:47 PM
  4. Replies: 0
    Last Post: 07-07-2012, 04:13 AM
  5. How to copy sequential vales into non sequential rows
    By dchalem in forum Excel General
    Replies: 11
    Last Post: 01-18-2011, 12:19 PM
  6. Plotting sequential data against sequential dates
    By Morph71 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-04-2009, 05:33 PM
  7. Non-sequential VLOOKUP function -OR- sequential sort of web query
    By Eric S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2005, 04:06 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