Jump to content

well yes you can do this kind of thing... can you post a bit more detail like and example and what program you want to access the data

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307862
Share on other sites

Link to post
Share on other sites

7 minutes ago, MrMarriarty said:

well yes you can do this kind of thing... can you post a bit more detail like and example and what program you want to access the data

I have an average stock return rate over 30 years, i want to have excel do f9 hundreds of times and a program to read the data and make an average of the return rates. 

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307881
Share on other sites

Link to post
Share on other sites

ok so it sounds like you don't have anything in existence that does this, it's all manual at the moment and you want to automate it?

 

If that's the case and you have the data within excel you can do it all in there using some fancy formulas and possibly a bit of Visual basic, for further info please provide an actual example of the process that needs to happen with some data

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307903
Share on other sites

Link to post
Share on other sites

Just now, MrMarriarty said:

ok so it sounds like you don't have anything in existence that does this, it's all manual at the moment and you want to automate it?

 

If that's the case and you have the data within excel you can do it all in there using some fancy formulas and possibly a bit of Visual basic, for further info please provide an actual example of the process that needs to happen with some data

Im just learning all of this, i dont particurally understand how to explain it, have you loooked at my spreadsheet??

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307907
Share on other sites

Link to post
Share on other sites

Just now, Neutrideo said:

Im just learning all of this, i dont particurally understand how to explain it, have you loooked at my spreadsheet??

id happily have a look but i cant see a link to it anywhere... have i missed it? also make saure its ok for you to be sharing the exact data not a sample set i dont want you getting in troubble

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307909
Share on other sites

Link to post
Share on other sites

This is just a simulation, but i want as realistic as possible outcome, and everything in front of me, i need to do a assesment on this in information services and technology, simulations and stuff, it needs to be as easy to read and as information as possible

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307920
Share on other sites

Link to post
Share on other sites

perfect i can see it now, yeah this is quite easy to achieve just using some formulas within excel, ill download it and have a tinker

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307922
Share on other sites

Link to post
Share on other sites

13 minutes ago, Neutrideo said:

Thanks bro

ok so it looks slightly differnt on mine but hay, so to be clear you want F9 to be pressed and the data in the highlighted area to be recorded then repeat over and over again?excel.thumb.jpg.0c5a0f2be8160c07558f62f3038a1ea3.jpg?

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307951
Share on other sites

Link to post
Share on other sites

6 minutes ago, MrMarriarty said:

ok so it looks slightly differnt on mine but hay, so to be clear you want F9 to be pressed and the data in the highlighted area to be recorded then repeat over and over again?excel.thumb.jpg.0c5a0f2be8160c07558f62f3038a1ea3.jpg?

If I understand you correctly, you are saying when you press f9 it will repeat it multiple times and record a average of what has shown in the highlited area.

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10307968
Share on other sites

Link to post
Share on other sites

15 minutes ago, Neutrideo said:

If I understand you correctly, you are saying when you press f9 it will repeat it multiple times and record a average of what has shown in the highlited area.

no what i was asking is if thats what you wanted, you would need some Visual basic to do something like that

 

Sub Auto()

Dim x

For x = 1 To 5 'how many times to loop


Sheets("Sheet1").Activate
Calculate
ActiveSheet.Range("G3").Select
ActiveSheet.Range("G3").Copy
Sheets("Results").Activate
NextRow = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(NextRow, 1).Select
    Selection.PasteSpecial paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False

Next x

End

End Sub
 

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10308002
Share on other sites

Link to post
Share on other sites

1 minute ago, MrMarriarty said:

no what i was asking is if thats what you wanted, you would need some Visual basic to do something like that

 

Sub Auto()

Dim x

For x = 1 To 5 'how many times to loop


Sheets("Sheet1").Activate
Calculate
ActiveSheet.Range("G3").Select
ActiveSheet.Range("G3").Copy
Sheets("Results").Activate
NextRow = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(NextRow, 1).Select
    Selection.PasteSpecial paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False

Next x

End

End Sub
 

Which cell would I put this in

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10308009
Share on other sites

Link to post
Share on other sites

like so...

excel.mp4

 

this is what to put in it:

Dim x

For x = 1 To 5 'how many times to loop


Sheets("Sheet1").Activate
Calculate
ActiveSheet.Range("G3").Select
ActiveSheet.Range("G3").Copy
Sheets("Results").Activate
NextRow = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(NextRow, 1).Select
    Selection.PasteSpecial paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False

Next x

End

 

Change this for the number of times to loop

For x = 1 To 5 'how many times to loop

 

Intel Xeon X5650 OC'd to 4Ghz  Sapphire R9 290 Vapor X 4GB  |  Vengeance® K70 & M65  W10 Pro

                                                                                                                                                                               

Link to comment
https://linustechtips.com/topic/822746-excel-rubbish/#findComment-10308038
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×