Re: AVERAGEIFS in Excel 2003
You can use an "array formula" in place of AVERAGEIFS, i.e.
=AVERAGE(IF(A1:A10="1BR",IF(B1:B10="Q2,C1:C10)))
formual needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar
Re: Sum, if it occurs before?
Like this? (Note you can automate the X too...)
************************************************ ************************> Microsoft Excel - Book1 ___Running: 12.0 : OS = Windows XP ( F )ile ( E )dit ( V )iew ( I )nsert ( O )ptions ( T )ools ( D )ata ( W )indow ( H )elp ( A...
Re: Sum, if it occurs before?
Sorry, the board wasnt displaying right when I included this in my first post...
Formulas are as follows...all can be copied across
A1 =IF(AND(TODAY()> A2,TODAY()
Re: File Names in Macros
Quote:
Originally Posted by excel-proficient
Replace this with the below:
Code:
Sheets(Array("Group Form", "Change Detail", "Change Data")).Copy Before _
:=ActiveWorkbook.Sheets(33)
It comes up with an ...
Re: Combine xls Files
There is now a Windows version of Excel File Merger called Batch File Merger . This little program will merge pdf files , doc files and xls/xlsx, csv and txt files.
I busted through 740 csv files in a snap. It's nice to have all these formats in one package.
Opening a file with the xldialog box?
My code uses the xldialog "open" box to choose a file to open. I can double click on a file in the viewer frame and it opens.. but is there a way to get the file to load in the selection box when I click on it, so I can click on the "open" button to open the file?
Re: Aufit Columns + 1 with VB
Quote:
Originally Posted by toe222
Travis....I just tested yours real quickly and it seems to work. It seems to take a while but its way better much fasther than manually adjusting them.
GTO....Is yours doing the same exact thing but ...
Re: VLookup & #N/A question
I think you may want to look at ranking sequentially
http://support.microsoft.com/kb/213916
From Microsoft, should help you some.
Regards
Dave
Delete all rows between two words in a column
I have two words in column A, "begin" and "end", and an indefinite amount of rows of data between them. I need a macro to delete all the rows between these two words.
Thanks!
Nicole
If you want to get the path of the file the code is in try using ThisWorkbook.Path. I don't know how exactly you would incorporate that into your current code, but that code does actually need 'fixing'. Something like this perhaps. Code: ActiveWorkbook.SaveAs Filename:= ThisWorkbook.Path &"\" & MyFileName
Quote: Originally Posted by gavink Hi Sandeep, Yours works with no error ... Does that mean you modified it slightly first? Or do you not actually have any data like in post #8? If modified, could you post your final formulas?
If MATCH(A4, A:A, 0) ROW(A4) then there is a duplicate of A8 above it. The array MATCH(A1:A100, A:A, 0)=ROW(A1:A100) is an array of logicals, where TRUE means that it is the first occurance of that value in A:A By using MATCH(LEFT(A1:A100,3)&"*", A:A, 0)=ROW(A1:A100), "duplicate" means "has the same first three characters". The data in the above post returns {T, T, T, T, F, F, T} IF(MATCH(LEFT(A1:A100,3),...
Re: How to add function name to 100 cells without typing in each Find and Replace lenze __________________ If you have to tell your boss you're good with Excel, you're NOT!! All I know about Excel I owe to my ignorance! Scotch: Because you don't solve great Excel problems over white wine
You can but it would require some VBA to transfer the information from one worksheet to the master data sheet. As an example if you set up Sheet1 and Sheet2 with the same headings in A1:B1 (e.g. name/amount) and then enter something into A2:B2 on Sheet1 when you run this code it will transfer the entry to the next available row on Sheet2: Code: Sub test() Dim lastRow As Long lastRow = Sheets("Sheet2").Cells(Rows.Count,...
Re: UDF. If "not a date" set output to "0" Hmm, ok it's becaue workday is dimmed as date.. You can either 1. Dim worday as Variant 2. Or try If workday __________________ The more we learn, and the better we get at our trade, the easier it becomes to overlook the obvious.
Re: Explanation peace of code The first one will try and link to a copy of word that is already open. If there is not one open it will fail and wsApp will be nothing. If this is the case then it is told to open a new copy of word. Note the descreet difference between the two: Set wdApp = GetObject(, "Word.Application") Set wdApp = GetObject( "" , "Word.Application") It will basically use word if it is open if not...
Thread profile page for "AVERAGEIFS in Excel 2003" on http://www.mrexcel.com.
This report page is a snippet summary view from a single thread "AVERAGEIFS in Excel 2003", located on the Message Board at http://www.mrexcel.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity