Posts by Smallman

    Re: from website to excel sheet


    Hi


    I know what you mean, when you download racing data from the web it comes in a very odd format and requires a lot of work to get it just right. From experience though there are key words which you can trap and isolate the important information and move this to a database.


    I carried out an exercise here in Oz for a client to generate racing information. When I was done the user only had a to list Date, Venue and Race Number and the program would go and get the results for all of the races they entered in one hit. To complete the task it took me close to a month.


    I feel your pain - it is not easy but there are programs out there which gather data from the web. It is just a matter of working with the format when it comes in.


    Take care


    Smallman

    Re: Autofilter macro for multiple cell values


    Hi


    Pretty sure I know what you mean. You need something like the following.



    I have attached your file to show workings. It is rather dynamic now.


    Take care


    Smallman

    Re: Hyperlink


    Hi Mada Black


    There is another way which may be useful to you.

    Insert comment in cell E3 right click the outer border and choose

    Format comment
    Colours and lines
    Colour drop down
    Fill effects
    Picture tab
    Choose picture

    The formatting of the picture will probably need to change a bit but it is simple and relies on no coding. I have included an example.

    Take care


    Smallman

    Re: Suppress Calculation to Display Shape


    Hi Dunnunu


    Welcome to Ozgrid :)


    I guess one of the most concerning parts of your post is this


    Quote

    This new start date starts calculations that take 20-30 sec for Excel to perform


    Your file is lagging pretty heavily I see. Might need to rethink the file.


    On your other problem - maybe just have the shape appear for 30 seconds then disappear? Would this be a workable solution? Seems you are running the same code if cell B6 or B7 changes which can all be done in one if statement.


    Take care


    Smallman

    Re: Dynamic unique row records formula or macro sample provided


    Hi


    That makes things so much clearer. This should get you closer. File attached to show workings.



    Take care


    Smallman

    Re: Dynamic unique row records formula or macro sample provided


    Hi


    You have not made yourself very clear. Your formula already gets unique values so why not point it at columns E & F??? Or did you mean you want the concatenation of the 3 relevant columns and only to get the unique items for this concatenation. A sample output on your file would have taken this confusion away.


    Take care


    Smallman

    Re: Inserting text from a cell with formulas


    Hi Len

    Sorry for the delay in getting back to you. I have 3 teachers in my immediate family and I teach XL. I think your colleagues have a point – the file is a bit too busy. I have streamlined it a bit, taken some of the noise out of your file and I think there is no value lost. I have fixed your formulas so it accounts for absence. Let some of your colleges view it and get their opinion. Hope it helps.


    File attached.

    Take care

    Smallman

    Re: Inserting text from a cell with formulas


    Hi Len


    Welcome to Ozgrid.


    It is always best when posting to provide a sample workbook. The people assisting will need to make one so it helps everyone if you go to a little effort up front.


    Have a look at the attached. The concept you will be able to use for both. Change the numbers in your data table to suit your needs and if you change the numbers in Column D you will see the results in col E change too.


    Take care


    Smallman

    Re: copy row automatically to another sheet if value is in column G for several sheet


    Hi Kitty


    Welcome to Ozgrid - :)


    This should not be too complex if you are using VBA. It should be something understandable and that you can scale. Here is one way which you should be able to adapt and understand.



    Sheet5 is the Total sheet and all sheets which are not named Total will be uploaded into the Total sheet if VO is in COl G.



    I will post a workbook shortly to prove workings. If you need to post your file please feel free.


    Take care


    Smallman

    Re: Sorting multiple spreadsheets


    Hi


    Is there any reason why you need to use code to conditionally format the cells when you have conditional formatting for that sort of thing? If you were to take that step out and apply a simple loop the code could be written in only a few lines for all sheets.


    Take care


    Smallman

    Re: Changing Excel shapes automatically based on cell values


    Hi

    What you need to do to achieve this, Actually there are a couple of ways, the VB way and the non vb way. If you were setting up a non vb solution you would name your three identically sized shapes, Red, Amber and Green. You could add the shapes into 3 named range cells (one called Red, one Amber and one green). Now create a formula in the named range section and it should refer to a cell with a drop down containing the 3 colours (Red, Amber and Green).

    If we now set up a new named range and it should look at the drop down. For demonstration purposed I will call it Test.

    =Indirect(A2)

    Where A2 contains the drop down.

    Now copy one of the shapes and use this shape as your ‘host’, click on your host and name the shape Test

    =Test

    Now as you change the drop down the colour of the shape will change too. I have attached a file which should help.

    I hope that helps with the non VB. I have plenty of examples of the way to colour shapes with VBA on my site. Here is one method which I do my best to explain.

    Heatmap



    Take care

    Smallman

    Re: adding Subtotals below


    Hi Luis


    It is very difficult from your picture to work out what the criteria is to add a subtotal. The data in Column H, I or J does not distinguish itself. A file with your data would help your cause immensely.



    Take care


    Smallman

    Re: Sumifs is really slow


    Hi Kay


    As a start don't use the whole column in your formula. This is probably what is slowing things down.


    =SUMIFS(Raw!$H$2:$H$73,Raw!$G$2:$G$73,$E2,Raw!$F$2:$F$73,G$1)/1000


    Give the above formula a crack and see if that speeds things up.


    Take care


    Smallman