excel

  1. S

    Need to print several named ranges based on the value of a cell

    Hello! I've tried everything here and I hope you folks can help me. I have a spreadsheet with several tabs. On each tab, I've defined a named range for the tab. For example, on my Sales Sheet tab, I have the named range called SALES_SHEET. I also have Additional Pages-1 through -8...
  2. A

    Remove text after first occurence of numbers

    I have a large dataset with street addresses (in column A) than can look like this: Streetname 15 (this is the street name and number of the street) Streetname 16 A (street name + number + entrance) Streetname 17 C Apt 1001 (streetname + number + entrance + apartement number) Streetname 18 Apt...
  3. Rob_010101

    Change VB code to move as values, instead of formulas

    Hello The below code moves rows of data to an archive sheet when they become 6 months old (as of the current date). Could someone help me change it so it moves the data as values, rather than formulas? Private Sub Workbook_Open() Application.ScreenUpdating = False 'Set...
  4. J

    VBA not taking column widths, borders, and conditional formatting from source WS to pdf

    I have been working on this for two days and cannot get the formatting details to come through on the pdf being attached to an email. All of the data is there but it is useless without the formatting Option Explicit Sub CreateAndEmailPDF() Dim wsSource As Worksheet, wsTemp As Worksheet...
  5. R

    How to run a macro for different sheets individually

    I have a workbook with multiple sheets with the same tables design and conditional formatting, and because sometime I face some drops in applying conditional format is some sheets, so I recorded a macro to copy the first row from a sheet that I see that it's stable "Ivory" and paste only...
  6. A

    Summarise top n hours within a period

    Hi, I have used the following formula to summarise the top 100 of total number of hours recorded within a period: SUM(LARGE(FILTER(Data[HOURS];Data[PERIOD]=[@PERIOD]);SEQUENCE(100))) In a seperate column I have a COST associated with said hours and I'm trying to figure out how I can get the...
  7. S

    Need Help Optimizing the Following Query - Running Queries in Access and Export various table outputs to Excel

    I am using office 365..current access db is saved as 2007-2016 format...and excel file is 97-2003 format. I have the below code working, but it gets very slow as the process reaches 300, 400, 500 generations of separate files. I have approx 3K + files a month to generate unfortunately. Any...
  8. A

    Excel VBA attach multiple worksheets in one email

    Hi all, I want to attach multiple worksheets in one email but it has the duplicate attachment problem as attached image Would anyone can help? Thank you very much Below is my code: Sub Create_Site_Cable_Usage_AT() Set wSheetStart = ThisWorkbook.Sheets("In out record_AT") Dim LastRow As...
  9. Jyggalag

    Help me with copy paste macro please

    Hi All, I would like a to get a VBA code that, once I press it, looks at cell D5 and then copy pastes the formula from BW34:BW36 to BX34:BX3, as well as from BX41:BX50, because cell BX6 is >= 2. The next month, when cell D6 is updated to the number 3, it should update column BY as well. Please...
  10. S

    VBA Save As gives wrong values on the Y axis of a graph

    Hi all I'm new on this forum, but have a little experience with Excel VBA coding. I struggle to find out what is causing a certain behaviour. When running the code below, which is started with a Button on sheet 1, the graphs on sheet 2 are changed. ActiveWorkbook.SaveAs fileName:= _...
  11. W

    Growing "Conversion Type Failure" error

    Hi all, Sorry if this question is has been asked repeatedly. I picked up Excel and Access after my coworker abruptly left and while I have done a decent job adapting, there is one error I can't manage to stamp out and it seems to grow every time I update the data base. The database is made up of...
  12. M

    Extract first instance of two-character string between underscores

    I need help writing a formula that will search a string and return the first instance of two characters only, between two underscores. Probably not explaining that well but my examples are: abcd_ef_gh_ijkl this should return ef abc_efgh_ijk_lm_nop this should return lm My current formula...
  13. G

    How to get currency rate in table with PQ?

    I have workbook with power query queries. I'm trying to get currency rates into yellow column, based on parameters specified in green column (currency symbol) and blue column (date). Query refer to internet csv, updated every workday, so I would prefer to not downloading full data table into...
  14. C

    Rearranging data from 1 row several categories to columns

    Hello, Looking to find a solution that is repeatable for the data manipulation below in the screen print. My company will not allow me to add the XL2BB addin so this is the best I can do. The data in the "Currently" section is from a our master database, but no one likes the way it looks with...
  15. O

    Applying a running count to the output from a array directly within the formula that produces the array

    (One more before I quit for the day and what a gloomy day here in England) I am counting the occurrences of items on a sheet and outputting by counts each day: countif of unique items by date: =COUNTIFS(Sheet22!C:C,B5#,Sheet22!A:A,Sheet21!E4:Sheet21!I4) - b5# is list of unique items on Sheet22...
  16. O

    Custom sorting: larger master list sorted first by the smaller unique items list selected that day

    I may have already answered my own question but I have just discovered xl2bb so I will post anyway: when I say answered this only means that I won't (please correct me here) be able to achieve what I want by sorting alone so will need to think on or look for guidance/answers here. (Not sure...
  17. P

    VBA to copy entire columns from one spreadsheet and insert the copied columns into multiple spreadsheets within many subfolders in a directory

    I am new to macros/VBAs so I'm looking for help in writing this code. I have a spreadsheet that is used as a data source (SourceFile), which contains data in Columns F, H, and I. I would like to copy the entire column of all three columns and INSERT them into multiple workbooks that are saved...
  18. K

    Formatting a clustered column chart

    Trying to get the text at the bottom of the graph to align with the bars. Can someone please tell me how I can format it so that the text at the bottom aligns with the bars? I have tried everything and cannot work out what I have done wrong. TIA for any advice/assistance
  19. E

    Sorting and Row Heights

    My husband has a spreadsheet with rows of varying height, when he sorts his information the row heightd do not change. Apart from selecting the whole sheet and using Format - Autofit Row Height is there any other way of keeping row heights when sorting. If this has been answered before...
  20. R

    VBA to Autocomplete text in the same column

    It seems that Autocomplete text in excel works only in the same current page of excel sheet while when I go down to a new page, it doesn't work I works on a daily list of tasts where I need to assign a team member in front of each task and as the team names are almost the same people so I need...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top