Quantcast Microsoft Excel Q&A - Aussie Stock Forums - Page 9

Page 9 of 11 FirstFirst ... 8910 ... LastLast
Results 161 to 180 of 206
  1. #161

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Gringotts Bank View Post
    I was planning to offer payment if it looked like something you could automate for me.
    Nah, this forum is built on sharing knowledge. I'm happy to help where I can.

  2. #162

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Gringotts Bank View Post
    Yes B is added, and is calculated from the raw live data. Probably doesn't need to be there as a column in itself. To calculate it, I used that nested IF function [edited].
    And is the raw live data in a set range (ie from say row 1 to row 20) or it varies?

    It might be easier to do this by PM instead of clogging this thread with minutae.

  3. #163

    Default Re: Microsoft Excel Q&A

    Pm'd

  4. #164

    Default Re: Microsoft Excel Q&A

    Posting here as it appears there is no method of sending attachments via PM.

    A couple of things. The macro won't check to see if the code already appears in the list, so everytime the list is updated any "BUY" rows will copied over (that can be fixed relatively easily with a pivot table or just turning on auto filters. "BUY" is case sensitive, so "buy" will not be copied over. Anytime Sheet1 is modified the macro will run. It's running pretty fast at the moment.

    Any questions let me know...

    Code below, with my (probably less than helpful!) explanations:
    Code:
    Private Sub Worksheet_Change(ByVal Target As Range)
    Application.ScreenUpdating = False
    Dim xRange As Range
    Dim cl As Range
        ' Set the range in Sheet1 to be searched. In this instance the range is each cell in column A with data in it
        With Worksheets("sheet1")
        Set xRange = .Range("a2", .Range("a2").End(xlDown))
        End With
            ' Once the range is defined, for each cell in column A an IF statement is used to determine
            ' if the text string is "BUY" (nb this is case sensitive)
            ' If a "BUY" is found, then the entire row is copied into the first free row in "Sheet2"
            For Each cl In xRange
                    If cl.Offset(0, 1).Value = "BUY" Then cl.EntireRow.Copy Destination:=Sheets("Sheet2").Range("a3000").End(xlUp).Offset(1, 0)
            Next cl
    Application.ScreenUpdating = True
    End Sub
    Attached Files

  5. #165

    Default Re: Microsoft Excel Q&A

    Thanks for your efforts McLovin.

    I have to wait to get back on a computer with excel (unfortunately I don't have it on this one) before I can try it out.


  6. #166
    Uncle Festivus's Avatar
    Join Date
    Jan 2007
    Location
    Blue Mountains, NSW, AU
    Posts
    2,560
    Blog Entries
    5

    Default Re: Microsoft Excel Q&A

    Apologies if this has been asked before.

    I'm trying to speed up the process of my tax return from my trading account but my broker is lazy and aggregates trades then does a currency conversion on the aggregate. I need to know the AU amount of each row ie do a currency conversion for each row. But I have the conversion number in the E column and want to just copy this number to column M say, as per pic below.

    This is basically what I want to 'code' -

    IF column E starts with Transfer THEN copy the last 6 digits of column E to column M

    Thanks in advance

    Statement question for asf.jpg
    Minsky Moment - Those who spend too much will eventually be owned by those who are thrifty

  7. #167

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Uncle Festivus View Post
    Apologies if this has been asked before.

    I'm trying to speed up the process of my tax return from my trading account but my broker is lazy and aggregates trades then does a currency conversion on the aggregate. I need to know the AU amount of each row ie do a currency conversion for each row. But I have the conversion number in the E column and want to just copy this number to column M say, as per pic below.

    This is basically what I want to 'code' -

    IF column E starts with Transfer THEN copy the last 6 digits of column E to column M

    Thanks in advance

    Statement question for asf.jpg
    formula in column M: =if((left(rc5,8)="Transfer",value(right,rc5,6)),0)
    (I use r1c1 addressing)
    The early bird makes the early worm look pretty stupid.

  8. #168

    Default Re: Microsoft Excel Q&A

    =IF(LEFT(E1,8)="Transfer",RIGHT(E1,6))

    ETA: pixel beat me...

  9. #169
    Uncle Festivus's Avatar
    Join Date
    Jan 2007
    Location
    Blue Mountains, NSW, AU
    Posts
    2,560
    Blog Entries
    5

    Default Re: Microsoft Excel Q&A

    Wow - now that's service - thank you both
    Minsky Moment - Those who spend too much will eventually be owned by those who are thrifty

  10. #170
    skc's Avatar
    Join Date
    Aug 2008
    Location
    The dark side
    Posts
    5,107
    Blog Entries
    7

    Default Re: Microsoft Excel Q&A

    In Excel I normally apply Filters to my table headings and those drop down lists allow me to easily rank the data.

    Now if I have a table with streaming data coming in - is there a way to auto-sort a table?

    E.g. My table has % change for ASX 200 stocks being streamed in, and I want the top movers to always appear on the top without me having to actually click the little filter arrow and select "Sort smallest to largest".

    Thanks

  11. #171

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by skc View Post
    In Excel I normally apply Filters to my table headings and those drop down lists allow me to easily rank the data.

    Now if I have a table with streaming data coming in - is there a way to auto-sort a table?

    E.g. My table has % change for ASX 200 stocks being streamed in, and I want the top movers to always appear on the top without me having to actually click the little filter arrow and select "Sort smallest to largest".

    Thanks
    Tried a macro? Make it repeat the click every so often.
    Note to self: Big upside patterns (R1). Profit target 90% R1/R2.

  12. #172
    Can be found on the bid Trembling Hand's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne
    Posts
    7,022

    Default Re: Microsoft Excel Q&A

    How would I get this bar chart to show negative values a different colour to positive one?

    P&L.gif
    http://tremblinghandtrader.typepad.com/
    "All I Want in Life is an Unfair Advantage"

  13. #173
    skc's Avatar
    Join Date
    Aug 2008
    Location
    The dark side
    Posts
    5,107
    Blog Entries
    7

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Trembling Hand View Post
    How would I get this bar chart to show negative values a different colour to positive one?

    P&L.gif
    Right click on the chart columns. Under Format Data Series > Fill > Invert colour if negative.

  14. #174
    Mod: Call me Dendrobranchiata prawn_86's Avatar
    Join Date
    May 2007
    Location
    Melbourne
    Posts
    5,539
    Blog Entries
    40

    Default Re: Microsoft Excel Q&A

    Good few weeks there for you TH

  15. #175
    Can be found on the bid Trembling Hand's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne
    Posts
    7,022

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by skc View Post
    Right click on the chart columns. Under Format Data Series > Fill > Invert colour if negative.
    Cool cept is there a way to specify the colour?
    Quote Originally Posted by prawn_86 View Post
    Good few weeks there for you TH
    Just another few Prawn......
    http://tremblinghandtrader.typepad.com/
    "All I Want in Life is an Unfair Advantage"

  16. #176
    Mod: Call me Dendrobranchiata prawn_86's Avatar
    Join Date
    May 2007
    Location
    Melbourne
    Posts
    5,539
    Blog Entries
    40

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Trembling Hand View Post
    Just another few Prawn......
    Or is it a graph of dinners paid for vs received?

  17. #177
    skc's Avatar
    Join Date
    Aug 2008
    Location
    The dark side
    Posts
    5,107
    Blog Entries
    7

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Trembling Hand View Post
    Cool cept is there a way to specify the colour?
    Depends on your version.

    http://peltiertech.com/WordPress/inv...ve-excel-2007/

    http://www.ozgrid.com/Excel/invert-negative.htm

  18. #178

    Default Re: Microsoft Excel Q&A

    Anyone use Kinetick as a data provider? Just swapped over from eSignal and am struggling to import data from them into excel.

  19. #179
    Can be found on the bid Trembling Hand's Avatar
    Join Date
    Jun 2007
    Location
    Melbourne
    Posts
    7,022

    Default Re: Microsoft Excel Q&A

    Hello excel gurus. if I have a data series plotted on a bar graph such as this,

    ='P & L'!$B$83:$B$120,'P & L'!$D$83:$D$120

    Is there a way to exclude one cell, being D103?
    http://tremblinghandtrader.typepad.com/
    "All I Want in Life is an Unfair Advantage"

  20. #180

    Default Re: Microsoft Excel Q&A

    Quote Originally Posted by Trembling Hand View Post
    Hello excel gurus. if I have a data series plotted on a bar graph such as this,

    ='P & L'!$B$83:$B$120,'P & L'!$D$83:$D$120

    Is there a way to exclude one cell, being D103?
    ='P & L'!$B$83:$B$120,'P & L'!$D$83:$D$102,'P & L'!$D$104:$D$120

    Am currently uni's macs that don't have excel so can't verify, but can't see why that shouldn't work.

Similar Threads

  1. Excel Shares VBA
    By TjamesX in forum Software and Data
    Replies: 9
    Last Post: 28th-September-2012, 12:26 PM
  2. Real-time data and Excel link up
    By Damien in forum Software and Data
    Replies: 18
    Last Post: 18th-December-2011, 07:06 PM
  3. Microsoft Word download
    By Julia in forum General Chat
    Replies: 21
    Last Post: 20th-August-2008, 10:22 AM
  4. Excel genius required!
    By halfwheel in forum Software and Data
    Replies: 15
    Last Post: 4th-September-2007, 01:47 PM
  5. Excel Guru?
    By The Barbarian Investor in forum Software and Data
    Replies: 49
    Last Post: 16th-October-2005, 06:58 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
  •  
Aussie Stock Forums