Recent content by IainG

  1. I

    Combine data from multiple workbooks and sheets

    Can anyone help me develop the following code so that I can capture data from specific sheets(if they exist) within a source workbook? The code below scrolls through and opens files from within 3 folders on my network drive and copies a specific range from sheet1 to a NEW workbook(Sheet1)...
  2. I

    Sumproduct(sumifs(indirect

    Oh my head! Sorry about that, I think I need a break.... Thank you for taking the time to help.
  3. I

    Sumproduct(sumifs(indirect

    I have attached a sample of the data. Thank you.
  4. I

    Sumproduct(sumifs(indirect

    That's giving me a #N/A
  5. I

    Sumproduct(sumifs(indirect

    My actual data range (Sum Range) is (G6:HZ20) Critera1 is Text (F6:F20) Criteria2 is a Date (G5:HZ5) You wouldn't happen to know if there is a function that will allow Column & Row criteria?
  6. I

    Sumproduct(sumifs(indirect

    Can anyone tell me if the SUMIFS function can work in this way? I used something similar with the SUMIF from and earlier post which worked great, but now need to use multiple criteria. This code is producing the #Value...
  7. I

    Help with Sumproduct(Sumif(Indirect

    NBVC, The 2nd option worked perfectly! So obvious when you see it. Thanks You.
  8. I

    Help with Sumproduct(Sumif(Indirect

    Hi, Can anyone tell me if its possible to use the LEFT() function or an equivalent function within this formula, =SUMPRODUCT(SUMIF(INDIRECT("'"&$E8&"'!$F$6:$F$20"),$F8,INDIRECT("'"&$E8&"'!A$6:A$20"))) The INDIRECT(ref_text) is working perfectly when it finds a complete match, but I want it...
  9. I

    Report Footer Total

    Can anyone help me please? I have a report that contains a subreport that I sum for each section and it works perfectly using a text box. However, I am now wanting to sum those text box values to a Report Total and show it in the Report Footer! I have been trying to sum the text boxes which...
  10. I

    Stop Subform returning to 1st Record

    Can anyone help me here please. I am using a Subform (summary List) to allow users to scroll and select a record ID. The record ID has a OnClick event that moves the Main Form to the selected record. All working fine appart from the Subform refreshing once the Main form displays the record...
  11. I

    Calculating field values using Combo Box selection

    That has worked perfectly! Sorted. Thank you for the super fast response.
  12. I

    Calculating field values using Combo Box selection

    Can anyone help with this Form issue please. I have a combo box on my form where the user selects a Currency(cCur) from a query. Each currency record in the query has related exchange rate fields, GBP and USD. The user also inputs a value(pVal1) that I then want to use in calculating...
  13. I

    Error message 97

    David, That works just fine. Many thanks. Iain.
  14. I

    Error message 97

    Runtime Error message 94 Can anyone help with the following? I am trying to use the MONTH function within the following procedure but I get an 'Invalid use of Null' error when [StartDate] is blank! Private Sub StartDate_AfterUpdate() Dim aMonth As Integer aMonth = Month([StartDate]) If...
  15. I

    Run functiion if cells values change

    Hi Boblarson, I tried your code but unfortunately got the following error and crashed Excel! Method 'Hidden' of Object 'Range' Failed I need the code to Hide or Unhide the relevant row based on cell value 0 or >0 I have managed to get the function working with the Worksheet_Activate...
Top Bottom