Amending A Large Formula

Mar 24, 2008

i have this formula below which works but if the criteria is not there it says FALSE because of the B22:C45,2,0) bit i would rather it says something like "no dissertation" is that possible? ...

View 10 Replies


ADVERTISEMENT

Rounding Decimals Values By Amending Formula

Dec 11, 2012

I am using the following formula to convert m (months) into y/m (years/months)

=IFERROR(QUOTIENT(AQ8,12) & "/" & MOD(AQ8, 12),"")

where in AQ8 I have m (months)

how do I ensure that the formula does not display any decimal points after the m and instead rounds to the nearest month

ie. 100 to show as 8/4 (not as 8/3.5)

note that I have an additional formula working which gives me the 100 (months) in AQ8

IFERROR(AVERAGEIFS('Raw Scores'!AP$2:AP$65,'Raw Scores'!D$2:D$65,"M"),"")

(so I am guessing that this is rounding it first to the value I see in my cell but it may infact be using 99.84 months for further calcs)

I have tried formatting my cells but this does not work

View 2 Replies View Related

Amending Data To Hours And Minutes

Mar 10, 2009

I am using Excel 2003 and I have two columns of data, one column shows how much work for a particular worktype should be done in an hour and the second column shows what I’m expected to get in over the next month. I have added a third column to show how long it would take to complete the expected work.

What I would like that third column to show the data in hours and minutes rather than a percentage of 100, so on a linked TAB on the main sheet it will show clearly as a time so staff hours can be allocate to a worktype. Is this simple to do. I have attached an example workbook.

View 5 Replies View Related

Amending Code Based On Cell Value

Jun 27, 2009

i have this code ( straight forward enough )

HTML Sheets("Receipt of deposit letter IWA").PrintOut Copies:=2
Sheets("glass").PrintOut Copies:=1
Sheets("Ggf").PrintOut Copies:=1
Sheets("Job sheet").PrintOut Copies:=1
Sheets("CHECK").PrintOut Copies:=1
Sheets("Completion sheet").PrintOut Copies:=1

but i would like the line completion sheet to printout copies based on whats in cell h12 of working sheet

so if h12 has a 3 in it it prints out 3 copies

View 13 Replies View Related

Amending Chart Location And Size

Aug 17, 2005

I have craeted a chart in VBA, which sits in the middle of the page . I have attempted to move it to a new location with the following code

ActiveChart.Parent. Name = "MyChart"

ActiveSheet.ChartObjects("MyChart").IncrementLeft -237.75
ActiveSheet.ChartObjects("MyChart").IncrementTop 32.25
ActiveSheet.ChartObjects("MyChart").ScaleHeight 0.96, msoFalse, msoScaleFromTopLeft
ActiveSheet.ChartObjects("MyChart").ScaleWidth 1.17, msoFalse, msoScaleFromTopLeft

which I adapted from a recorded macro, but which fails in execution, error message indicates that the Object does not support the property or Method.

View 9 Replies View Related

Amending Sheet Visibility In Visual Basic?

Jan 28, 2014

Error message: Unable to set the Visible property of the Worksheet class

View 1 Replies View Related

Amending VBA Sub / Function To Pass Results To Other Subs

Feb 5, 2014

Basically someone has coded a VBA script to pull a users details from AD when a button is clicked, using the staff id as the search criteria.

I've amended the criteria so it uses Environ$(USERNAME) to find details of the current logged on user, but i am struggling to get the resulting information out of the Sub to be used in other Subs! It currently just fills a cell with the required info.

View 1 Replies View Related

Amending Existing Code To Add New Column To Macro Output

Jun 4, 2014

Attached is my sample data Sample Data_Combine Sheets.xlsm.

What the code in the attached sheet does is that it combines the data in Sheets Set1 and Set2 into the worksheet named "Combine".

Both input sheets share same columns. Code I use is as below:

VB:
Sub BuildPivotData()
Dim wrsht As Variant
Dim i As Integer

Sheets("Combine").Range("A2:AI500").Clear
wrsht = [{"Set1", "Set2"}]
For i = 1 To UBound(wrsht)
Sheets(wrsht(i)).[a2].CurrentRegion.Offset(1).Copy Sheets("Combine").Range("A65536").End(xlUp)(2)
Next i
End Sub

I want to amend the output in such a way that when the macro is run , in the "Combine" worksheet an additional column is added at the start(col A) with header as "Category".

The category should be nothing but the input Sheet name i.e Set1 or Set2.

Here is an example ... Output Sheet.xlsx.

View 3 Replies View Related

How To Input Formula Down Large S/s??

Nov 25, 2008

I'm using Excel 2007 and the sheet has 238536 rows containing 26412 ranges.
The first 5 rows in each range contains data. I wish to input into the sixth cell of every range a formula. Not essential but I'd prefer it to be formatted blue.
I attach short s/s to illustrate my need.

View 2 Replies View Related

Large And Offset In Same Formula

Feb 25, 2007

I'm using a "Large" formula with a variable for the number of cells to sum and then later divide by. However, I want the Large formula to look at the X largest values from a column three to the right, then sum the values in the original column. This wouldn't necessarily be the X largest cells in that original column. I believe this would be some sort of offset, but I'm not very good with those.

View 3 Replies View Related

Large Formula With Dates With Duplicates

May 26, 2014

In cell G1 I have my snapshot dates header and dates running from G2 to G31. Next to in Column H I have the sold items by Product A.

There are 6 different snapshot dates and I need them to be horizontal with a formula and none duplicated with the largest (newest) date first so I can SUMIF the sold item per date. If I simply pull a LARGE formula it will return 24-05-2014 in all rows is it is the biggest "value".

When I them add new snapshots (biweekly) then the horizontal snapshot line will automatically add the newest dates (i.e. find the largest or newest, the 2nd newest snapshot, the 3rd newest, etc. Hence, in K2 we would have 09-03-2014 with 672 sold items in K3 (via SUMIF), in L3 we would have 18-03-2014 and 7523, in M3 23-03-2014 and 1703, etc.

I'm not sure if I explained it well enough. I'm attaching a file if this makes more sense.

G1 G2

Snapshot DateProduct A - Sold Items
09-03-201423
09-03-2014354
09-03-201435
09-03-2014254
09-03-20146

[Code] .......

Latest Snapshot
09-03-201418-03-201423-03-201410-04-201424-04-201424-05-2014
6727523170310787201035

View 12 Replies View Related

Macro: Small & Large Formula

Dec 6, 2006

I wondered if there is a possibility to make this

Range("L3").FormulaR1C1 = "=SMALL(R[-1]C[-11]:RC[-11],1)"
Range("L4").FormulaR1C1 = "=LARGE(R[-2]C[-11]:R[-1]C[-11],1)"

more simple so i can get the range for my small and large formula's variable? What i try to reach here is:

Range("L3") = smallest date In Range("A2", Range("A" & Rows.Count).End(xlUp))
Range("L4") = largest date In Range("A2", Range("A" & Rows.Count).End(xlUp))

View 6 Replies View Related

Return Cell Reference Of Large Formula

Jul 23, 2008

I am creating a summary financial sheet in Excel 2003, Win XP. It needs to show the top 10 sales variances from a large data list, along with the associated department.

I can bring in the top 10 largest variances using Large(array,k), but because variances are either positive or negative, I'm not really showing the true top 10. To fix this I can use absolute values via Large(abs(array),k) but then I don't know how to convert the value back to its original sign (positive or negative).

If I could somehow get the cell reference that the Large(abs(array),k) formula points to, I could do something like this:

=Large(abs(array),k) * (Large Cell Reference/Large Cell Reference)

I'm afraid to use the address function because of duplicate sales variances. I often have several variances of with same value, so I might not truly be pulling the address that the large(abs(array),k) is pointing to.

View 9 Replies View Related

Large CSV File: Too Large To Open. Split

Aug 6, 2003

I've got a 80 Mb CSV file and would like to open and work with it. Too many lines (90000 or so).

Is there a way to split ( ) this file so I can open two files instead?

View 9 Replies View Related

Macro Formula To Clean Data In Large File?

Mar 3, 2014

I am trying to use excel tools to clean dirty data and compare the two cells. The information is there but tainted with additional information that is not relevant. I have tried to use Left/Right tools to capture alpha characters leading an address number with no real success. Also, when I get the data it seems to have some embedded breaks that I can't seem to get rid of that cause my tasks to error too.

View 4 Replies View Related

Excel Formula Retrieving Data From Very Large Dataset

Jan 17, 2013

I've been unsuccessful in trying to write a formula that retrieves a single result based on two criteria (from a large set of data on a separate worksheet). I've tried various INDEX MATCH combinations but no luck.

A
B
C
D
E

1
DATE
TEAM
PITCHERS
RESULT

2
4/1
nyy
Sabathia
???????

[Code] ........

So this is a very simplified version of my real data set which is about 20 times this size. The first worksheet is where I want to store my retrieved results (lets say D2 for example). I want to retrieve data from the second worksheet that matches two criteria (exactly) originating from my first worksheet. The two criteria to be matched from the first worksheet are, for example, A1 (sabathia) and F2 (the date 4/8). The complicated part is the desired result should be from the corresponding K/9 column in the second sheet, which in this case (based on sabathia and 4/8 criteria) is I2 (result would be 3). It's complicated since I can't just tell the formula to look down a specific K/9 column, I need to search ALL the K/9 columns in the sheet (of which there are many). Is this even possible with some sort of nested INDEX MATCH? Any possibilities outside of VBA programming, or is that the only way?

View 8 Replies View Related

Formula Not Working On Large Number Of Records (500,000) - 2007

Nov 2, 2009

I am trying to use a simple formula: COUNTIF($CT$2:$CT:$430749,CT2)

I am trying to fill this down all the rows (430,749 rows). The formula behaves as its supposed to up to around row 650. After this point, all resulting values are all the same, which happens to be the same value that was returned from the original formula in C2. However, this is not correct. It's like the formula just stops working after row ~650. I tried F9 without success.

View 9 Replies View Related

Using LARGE Formula With Index / Match To Pull Values When There Are Duplicates

Sep 13, 2012

I am attempting to use the LARGE formula to pull the top 3-5 percentages out of a field of 50-100, while using the INDEX/MATCH function to pull the corresponding "descriptor" that is associated with those top 3-5 percentages. (I need to do this across multiple data sets, but I can't get past this 'duplicate' issue) However, I am running into the problem when there are 2 percentages that are identical (WH 14 and WH 16 in pasted text below), then the INDEX/MATCH function only pulls the 1st "descriptor" and doesn't continue down to the Duplicate. how to tell excel to move to the next set of duplicate data and match the 'descriptor' to that data?

I have attached a file that should show what I am trying to do. These are the formulas I am using right now, pulled down into the 3 cells below them to get the top 3.

B1:

[Code]....

C1:

[Code]....

Warehouse S/S %
WH 1 50.00%
WH 2 57.14%
WH 3 0.00%
WH 4 50.00%
WH 5 100.00%
WH 6 60.00%
WH 7 33.33%
WH 8 66.67%
WH9 60.00%
WH 10 63.64%
WH 11 78.57%
WH 12 55.56%
WH 13 42.86%
WH 14 71.43%
WH 15 61.54%
WH 16 71.43%

Attached File: Book1.xlsx‎

View 9 Replies View Related

Simplifying Formula When Data Needs To Be Extracted From Large Number Of Worksheets?

Jun 16, 2014

simplifying a formula which gathers data from about 50 worksheets from within the same work book.

The data to be gathered is in the same cell on each worksheet and is simply a number but i want the SUM of theses numbers carried forward to another worksheet. Each worksheet is named by date i.e. sheet 1 is named "16 June 2014" and sheet 2 is named "23 June 2014" and so on until "30 March 2015" (Each sheet represents one full week Monday - Sunday).

View 5 Replies View Related

Amending The Filename In Cell("filename")

Jul 7, 2006

I am trying to display the Filename in a cell on my worksheet. However, when I enter the =Cell("filename"), it provides the full path (C:/Documents......Cost Summary.xls) How can I display only the filename without the path?

View 3 Replies View Related

Get LARGE Value And Worksheet Name Along With It

Apr 29, 2014

I have 5 sheets all with different data within the H column. I want to find the top 10 highest results across all 5 sheets and then pull the worksheet name where those results come from. It would be two separate formulas, one for the LARGE value and the second for the name.

This is all I have.

O2:O11
=LARGE(Sheet1:Sheet5!$H$3:$H$102,1)
to
=LARGE(Sheet1:Sheet5!$H$3:$H$102,10)

I then have this which was the best I could find after about 30 different formulas.
=MATCH(TRUE,COUNTIF(INDIRECT("'"&{"Sheet1","Sheet2","Sheet3","Sheet4","Sheet5"}&"'!$H$3:$H$102"),O2)>0,0)
It gives me the right worksheet but it only gives me a number. I'm assuming it's because of COUNTIF but I'm not sure what else to use.

Most examples I see have the names they want right beside the values. So in my case H3 is 22 (and the largest value within H across all sheets) and if I followed their examples G3 would be Sheet1. So because it's side by side it'd be easily pulled. But the only name references I have are the worksheet name itself or A1 of Sheet1:Sheet5 so I'm not sure how to rework their formulas to suit mine.

View 4 Replies View Related

LARGE With IF Statement?

May 1, 2009

I need to create a "Top 5" list based on two columns. The example is as attached (the real list is approx 22 000 lines):

I need to find the top 5 largest quantites (column A) for each flag catagory (column D) and include the part number and description. I have tried a pivot table and had some issues. Also tried a LARGE(IF...) type formula and still no luck. Does anyone have any ideas of what is the best way to do this?

View 12 Replies View Related

Large Function And Corresponding Name?

Jul 14, 2009

I'm trying to create a mini-table that will give me the 3 highest and lowest values in a range (I know how to do this using LARGE and SMALL functions), but I also want to get the corresponding name (in column A) for each number. This last part I don't know how to do.

I've attached an example sheet that I hope gives a basic idea of what I'm trying to do. I'm looking for a method to fill in the data for cells A13:A15 and C13:C15 in the attached sheet.

I could modify my worksheet a bit and probably get the result I'm looking for, but I'm hoping to come up with a nicer solution, and hopefully learn Excel a bit better in the process.

View 2 Replies View Related

Vlookup/if/large

Sep 4, 2009

I don't know if this is possible but thought i'd check. Could I put together a look up that pulls through the 5 best performing categories' so say i have 200 categories, just to pull on to a report page the top 5 and their result, and produce a report weekly so if the top 5 change it updates this?

View 2 Replies View Related

Workbook Is Too Large

Oct 7, 2006

I am having a problem with a workbook, I have copied all cells and pasted Special (Values only). But for some reason the workbook is 38 Meg's. The workbook only contains 6 worksheets with about 60 rows and 32 columns with figures and no formulas. I have tried to find formulas by Goto/Special/Formulas and Excel has found nothing. What shoud I do?

View 4 Replies View Related

Use Large Function With Sum Criteria

Aug 24, 2014

I was doing this task using sorting then adding column today morning one of my friend told i can do it with formula only, no need to using sort and adding new column

I just attached the sheet : without sorting.xlsx‎

View 5 Replies View Related

Using PRODUCT For Large Dataset

Jan 6, 2014

I have a set of 5,800+ data points between 0 and 1 that I would like to multiply together. When I use PRODUCT for the whole set, the formula returns 0. However, I can use a smaller subset of the data to return a very small number. I'm curious if Excel has a closest-number-to-0 or number-of-cells-for-PRODUCT limitation. Is there another way to perform this calculation?

View 4 Replies View Related

Concatenating Large Row Of Values?

Aug 20, 2014

Say I wanted to concatenate a row that had 10,000 values in it. How could this be achieved without having to click 10,000 cells while typing a comma in between each one?

View 5 Replies View Related

Large Number Count

Aug 17, 2007

If I have the numbers 1-50 repeating in columns, 1-50, 1-50 etc is there a way to determine that number "1" falls 1st, 51st etc in the sequence without doing a manual count? Or that the number 2 falls 2nd, 52nd etc?

View 10 Replies View Related

Concatenate A Large Range.

Jun 19, 2009

I have a column of numbers in A1:A200 that I need to concatenate with a ";" in between each into one cell. Is there a way to do this without clicking in each cell individually? =concatenate(A1:A200) just returns the value in cell a1.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved