column

  1. P

    Why is my AE column not updating?

    Hi everyone, I am very new to VBA and have been learning it for work. I am trying to create a macro button that will help me update the the value in the AE column to "N" if the value in the same row of the H column is "REPO". I am not sure why my code doesn't work properly and just seems to...
  2. Jyggalag

    Write offset formula reference in VBA code

    Hi all, I have this formula: Essentially, when I fill in ANY data or make ANY changes to cell D2, i want the VBA to automatically update the current date/time in cell B1, so I can see the last time I made any update to cell D2. I can do xOffsetColumn = -2 But this will show the date in...
  3. T

    Resetting Row Counter Loop?

    I have this code here that copies, and pastes from one sheet to another if the match is not found. However, I cant seem to get the row counter to reset to the top of the row. Once it is done looping through a row, it should reset to the second row (as the first row will be a header row)...
  4. Y

    check if there is 13 columns if not add one

    clients sent me a sheet that have a table from Week 1 to week 13 (13 column) some clients doesnt, for exemple just for 12, 11 weeks i want a macro to check if there is 13 column if not add new column in specific place any idea ?
  5. Jyggalag

    Have formula data appear as text, maybe VBA solution?

    Hi all! I currently have this setup, please note that I have hidden all the nonrelevant columns however: The formula I use is this (thank you @RoryA !) =IFERROR(INDEX(INDIRECT("'"&H504&"'!$U$3:$U$73"),MATCH(1...
  6. F

    Repeated Number in a Colum

    I'm trying to make something like this (I'm a noob on excel don't know if this is possible): If beetween J33:J54 the number 4 repeats then show the number 3 on J55 but if it doesn't repeat show the lowest number on that column, Also if there's a number lower then 4 in j33:j54 even if 4 repeats...
  7. T

    Go To Cells That Dont Match From Table

    Hi Everyone, I was trying to make a VBA code that would compare a list on a page "Locations", and go through all of the other sheets comparing a column in these sheets to see if there is a match or not. If there was no match, ignoring blanks, the VBA code would go to the cells where the match...
  8. G

    Cant Find value in formuale- VBA

    I'm writing a macro to make it such that if a value is found in column B then do one thing, otherwise do another thing. However it doesn't return the correct value because it doesnt look at the the text the formulae outputs. Sub Value_Find() Dim Cell As Range Columns("B:B").Select Set Cell =...
  9. C

    Count Words in cell and ignore blanks

    Hello, I am trying to create a word/phrase counter where it counts the contents of the cell (regardless of how many words are in there), and shows how many times it appears in the range. I apologize if it sounds confusing, but here is the example: Source: Genre Number Historical...
  10. JonesZoid

    Loop through columns, create a workbook and sheets.

    I have a list of sitenames in column E and a list of racks in column C which are in the said sitename. A B C D E Rack A Site 1 Rack A Site 2 Rack B Site 2 Rack C Site 2 Rack A Site 3 Rack B Site 3 I would like to loop through column E and...
  11. U

    If a cell in column A is not blank then column B equals

    Hello, I'm having trouble with something that seems pretty straight forward. I have a worksheet with Dates and Blank cells in column A and would like to put "Open" if column A has a Date and "Closed" if column A has a Blank in column B. I'm using the following code but am getting a 400 error...
  12. G

    Pass two columns of array to a temp array - syntax

    Hi folks, I am having trouble figuring out how to copy two separate columns from one array into a separate temporary array. I can't assign just those two columns earlier in the process unfortunately so am trying to figure it out this way. origArray data example: 5/3/2021 125.37 125.57 124.28...
  13. J

    Index Aggregate Columns with Multiple Ranges

    Hi, I am trying to adapt the below formula to pull the name of the person from column C (orange), unfortunately the formula returns the value Darren for everything. Current Excel Formula (not working) =INDEX($C$5:$C$32,AGGREGATE(15,6,(COLUMN($C$5:$C$32)-COLUMN($C$5)+1)/($D$5:$T$32=E39),1))...
  14. T

    VBA to replace duplicate values with unique values from different column

    Hello I have table like that: 1.1 Covid cases in hospitals per date. Column 6 is Hospitals with strings of the hospital names. There is like 40,000 of items. 1.2 In column 5 of this Sheet I have emty column, where the Hospitals IDs should be placed (like 40,000 items). 2. Now, in different...
  15. L

    Help needed! 2 Columns, a search box and no link between values is causing me problems!

    This is honestly causeing me a headache! I know just enough to maybe toy with a solution but not enough to fix it. So here's the setup: I have 2 columns that are going to fill up via userform entry which log the date a call was placed and the time and duration of the call (in the same column...
  16. C

    Merge Same Column Name

    Hi Guys, Need help on how to merge same column names with data. Example City | State | Address | Address | Address Now I would like to loop through the column headers and if finds the same column header name in this example would be address it will combined all the text information in all...
  17. auzanoo

    simple but not so simple formula needed (or vba?)

    dear experts, i have to make this (sample) data from this: to this: so, 1. the date just has to be unique, 2. the start time is from the first column, and then the end time is from the last column (of the date). 3. the row A and B must be from the summary. i just confused about how to...
  18. M

    What is the macro to move data from column to different column and row

    Dear all, I am a beginner here. I would like to ask a help for someone who can help me to solve the problem. I have around 800 data in excel and I want to move data from one column to different column and row. It is difficult to say here, I will give the example in the table below. Please...
  19. J

    Highlight consecutive cells in a row and collunm from table

    Hello, I am trying to highlight the value "0" with conditional formating in consecutives cells (in the table) in the same row and in the same colunm like I done manualy in picture b3a. The first value in the table is in cell B3. I have this formula...
  20. X

    Copy Specific Column from Mastercopy to WorkingCopy based on Row Value

    As seen in the image example.. (I am a total VBA noob as evidenced from my continuous requests for assistance in this forum, apologies. I tried doing it myself but ended up always failing after hours of effort.. :( I require assistance in a macro code that helps me to copy over from MasterCopy...
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

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
Top