formula & macro

  1. J

    100 formulas taking way too long to run

    Hi I have an excel file that has the user answer 3 questions then runs a query against a database. That take a min and thats ok but then the data is dropped into a sheet and there are over 100 formulas that are entered via VBA in about 6 sheets they all look like this =Sumifs('Raw...
  2. J

    Formulas that can find headers and be updated

    Hi, I need some help!! I am trying to put formulas in a few columns. Here's where the problem comes in, I am using variables to look for the column with the headers names. Cells(5,dis).select Price= Application.Match("List Price", .Rows(1), 0) Cost= Application.Match("Cost...
  3. M

    Extract date, text, and value

    Hello Excel experts. I am a beginner using Excel 2003... requesting help with a formula that will extract the date, certain text, and a dollar value from a string of text I get from a text file from my bank. I will be pasting the text into Excel 2003 starting in A1 and possibly down to A300...
  4. K

    If Statement? Yes or No? What should I use

    Hi, I am wondering what would be the best way to go about this. I have a column of names,another column of subject and in another column either yes or no. I want data like this........... To become like this <tbody> Name Subject Action...
  5. N

    VBA code doesn't replace formulas with values correctly

    This code is to work on two tabs in an excel worksheet. I'm hoping to use the below code to replace the formulas below row 2 in columns N to AA with the values that would come from having run the formulas that are kept in row 2. So, what I would like in the output is to have formulas in row 2...
  6. F

    How to conditionally copy value of one cell to the other cells in the same row using formula or macro

    Hi All, I have a data table like this: <tbody> A B C D 1 T 0 1 1 2 G 1 0 0 </tbody> After using formula or macro, it should look like this: <tbody> A B C D 1 T T 1 1 2 G 1 G G </tbody> All 0's has been replaced by the text in the cell from Column A in that row. Have no idea how...
  7. G

    correct syntax for replacing a number with a variable in VBA

    I have this macro LastRow = Cells(Rows.Count, "E").End(xlUp).Row Range("F2").FormulaArray = "=IF(C2=""Job complete"",(D2+E2)-SUM(VLOOKUP(B2&"" - Job assigned/passed"",$A$1:$E$62,{4;5},0)),"""")" 'Insert Array Range("F2").AutoFill Destination:=Range("F2:F" & LastRow), Type:=xlFillDefault...
  8. A

    Give cell a value depending on value of other cell and list

    Hello, I have a list of shifts I did with the date. This list expands as I do more shifts. <tbody> A B 1 Shift Date 2 1 date 1 3 2 date 2 4 3 date 3 5 4 date 4 6 5 date 5 </tbody> I have another list of deliveries (on another sheet) with the shift given, I want to automatically...
  9. I

    Comparing data between sheets using Macro or something similar

    Hello, I need help regarding Excel formulas or Macros. It's kinda complicated so I will explain it. I'll post the Excel Template tomorrow as an attachment since my collegue who creates the Excel is not available by now. This Template has fictional employees. On the excel you can see 3...
  10. H

    Need Help with a Formula for solar pump system sizing sheet

    Hello, I’m trying to configure a solar pump system sizing sheet. Basically, after calculating several criteria, a solar pump model should be automatically selected. The criteria for selection are: required power and required head (m). I need to extract the right model from a table that compiles...
  11. J

    Inserting Formula and copying down to last row

    Hey Guys, I am inserting the formula but having trouble getting it to copy down. I want it to copy down to the last row of column AA to account for variable data. Sub Insert_QueryTitle_Formula() Range("AA1").Formula =...
  12. M

    Helped needed with formula moving data from one place to another

    Hi there, I am currently building a spreadsheet for a fantasy football (soccer) game. I've hit a bit of a stumbling block.I have created a simple table which includes players names, clubs, points etc. and a column at the end with a simple drop-down menu that allows you to select a player. I am...
  13. P

    Sum based on multiple criteria (one of the criteria is not unique) until a threshold is reached.

    Hi - I'm trying to build an output model similar to the one shown below, please see the following explanations to help answer: Main Issues: (I) When a unique ID has multiple transaction with a selected product code input before meeting the selected threshold amount. (II) Once threshold is met...
  14. J

    How to have your spreadsheet tabs change different colors automatically

    I have created a spreadsheet of about 80 or so tabs. On each individual spreadheet, in a specific cell, I have a percentage that is populated. In another cell I have the "IF" formula to populate OFF TRACK or ON TRACK based on what the percentage is. I used this formula in the macro view code...
  15. L

    Dragging formula across using a macro?

    Hello, So I need my formulas to be dragged across to the next column using a macro but I'm finding it really hard. I've got a few tabs I need to do this on as well, E.g On the 'ACE' tab I need from AS46:AS86 to be dragged across one column to AT46:AT86, but then the next time I need it to go...
  16. P

    Use CountIFS in VBA with variable criteria

    Hi I've been trying this for a decade (it seems like that) and searched the whole web, but probably it is just some dots, slashes and other punctual stuff thats wrong with my code. Ok what I'm trying to do is rather easy, I would like to put a countifs formula in a cell by VBA. The more...
  17. R

    Countif in VBA wont work

    Hi, i am having a little trouble with my vba code. I seem to have an error in my countif vba formula. I need B2 to have the formula for countif on range D2 thru last row. The criteria will be D2 (for B2)...D3 (for B3)...D4 (for B4)...and so on. Range("B1").Select ActiveCell.FormulaR1C1 =...
  18. D

    Copying a Formula into a cell

    I have this Formula but when i try to add it into a cell it says Application-defined or object-defined error This is the formula ProgForm = "=IFERROR(INDEX('" & PathFile & Filename ProgForm = ProgForm & "'!Division_6[Programmer],AGGREGATE(15,6,(ROW(" & PathFile & Filename ProgForm = ProgForm &...
  19. D

    Copy a formula into a cell from a Variable

    I am creating a Macros to Update a Formula everytime there is a new value on a defined table. The problem is that even if the Formula is generated correctly in VBA an error appears saying that "Application-defined or object-defined error" This is my code Dim ProjCol As New Collection Dim...
  20. N

    Macro (or other route) for changing several formulas at once

    I have a sheet with several formulas that need to be adjusted, and I'm sure there's a faster way to do it than by hand! All the formulas are INDEX formulas (not the array option), and each one is unique. For example, the formulas in F11, F12, and F13 are: =INDEX('App 1T...

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