# Excel 2007 :: Named Formula Incorrect Results

Sep 4, 2012
Using Excel 2007.

I setup a named formula: Spread1 =Sheet1!$E$2:$BE$2 where I entered % values to spread a an annualized figure over 53 weeks

On Sheet 2 I entered the amount to spread in $D$2 and in $E.. I entered my formula: =Spread1 * $D$2. Everything appeared great!

But then I deleted a few columns on sheet2 so first calculation is now in $G$2

Spread1: =Sheet1!$E$2:$BE$2

Calculations: Sheet2! $G2:$BG$2 (the values in I,J,k while summing to the total are in the incorrect weeks based on the spread on Sheet1, BF and BG have #VALUE! errors)

Seems odd, if I highlight "Spread1" in the formula bar and [F9] I see an array of 53 possible values and the 3 values I expect are in the place in the array (elements 5,6,7).

How I can defeat it with the possibility that a user may delete a column?

View 4 Replies
ADVERTISEMENT
Sep 30, 2011

Surely it's user error, but it honestly seems like Excel is not calculating 2 numbers correctly. At work, we have office 2010 where it is not calc'ing correctly; at home I have 2007 and it's fine, but anyway, here's my situation:

Cell A1: 0.003529

Cell B1: 0.48

If i put in Cell C1: "=B1/A1" i get a value of 136.000000 But that's not correct, it should be 136.01587... But if in Cell C1 i put "=0.48/.003529" then i get 136.01587...which is correct.

Why does using cell references in my formula give me the incorrect value?

View 2 Replies
View Related
Nov 3, 2009

If I type in an age in A1, in A2 I want an age group to appear

the groups are

20-24

25-29

30-34

35-39

40-44

45-49

50-54

55-59

60-65

so far, if I type in an age then it normally enters the group ABOVE what I want

i.e. if I enter “24” then it put the group “25-29”. if I enter “42” it puts “45-49” and so on.

=LOOKUP($A1,{0,16,20,25,30,35,40,45,50,55,60},{"<16","20-24","25-29","30-34","35-39","40-44","45-49","50-54","55-59","60+"})

View 3 Replies
View Related
Aug 4, 2006

My goal is to sum up the total sales and total forecasted sales of each cost center. I compiled a formula that is supposed to do this just as I want it to. Simple enough. However, for some odd reason the formula returns either the totals of ALL cost centers or just a zero instead of the correct result. The weird part is that when I check the formula by pressing the "insert formula" button it suggests that the formula actually should produce the desired result.

View 5 Replies
View Related
Jan 20, 2014

I'm trying to do a simple conditional format where the date is highlighted in red if the difference between that date and Todays date is greater than 90 days.

I've done the formula as =(TODAY()>$B5)>90, which appears to work in the sheet and shows either True or False but when inputting that formula into the conditional format it highlights every single cells.

Are conditional formatting formulas different?

View 5 Replies
View Related
Nov 27, 2007

In column C i have dates. I have formula that count all the dates that are older than 20 days. The formula works perfectly. Now i made a Dynamic Named Range of the column A and now the formula results in #VALUE.

View 11 Replies
View Related
Jun 5, 2014

If a player does not qualify, their name and score should not be included in the final results.

I currently have their Name missing, but the NUMBER is showing up.

I've explained more in the attachment.

INDEXARRAY.xlsx

View 3 Replies
View Related
Nov 10, 2011

I have a problem with VLOOKUP function and I am looking for a workaround.

SheetA I have a column of business names and another column of the category.

SheetB has a list of credit card transactions and a column of categories - The results obtained from incorrect results from SheetA...

View 7 Replies
View Related
Jan 23, 2013

I have the equivalent of Vlookup code(I couldn't get vlookup to work correctly) I am using Excel 2007. I have an array 2 cols x 1652 rows. I have another column of 6264 items. If a text item in the first column of the array matches a text item (minus 3 characters) in the longer column, I place the matching row from the array next to the item in the longer column. Whats not working is that the text never gets put in the cell.

Code:

Sub Macro1()

'

' Macro1 Macro

[Code]....

View 7 Replies
View Related
Mar 6, 2013

I created a data validation formula for an Excel 2010 workbook that would only display client names who were assigned to the manager that they selected. The formula works fine in Excel 2010. However, when I open the same workbook in Excel 2007, the data validation type is reset to "Any value" and the formula is missing.

OFFSET is an available command in both 2007 and 2010. When I try to add the formula as a data validation list in 2007, an error indicates that Offset cannot access data in a different table. I have not been able to find any documentation which restricts the OFFSET command in Excel 2007 but there seems to be some incompatibility between the two Excel versions.

The formula I used was:

=OFFSET(Clients!$A$1,MATCH(Summary!$A$1,Clients!$A:$A,0)-1,1,COUNTIF(Clients!$A:$A,Summary!$A$1),1)

Where:

"Clients" is a sheet which lists all clients under each manager."Summary" is a separate sheet which contains the manager's name. Only clients matching this name will be available in the employee's client list.There are 50 "employee" sheets, each which should use this formula for data validation in the client column.

The error we received seemed to indicate that the above command could not access data on another worksheet. It is not an option for me to copy the client list onto each sheet that uses this formula. Are there any other options?

View 1 Replies
View Related
Jul 15, 2012

I can find no code that actually works. It seems to me that there is a gap in the available functions.

I need to get a listing of files in a named folder, into Excel 2007.

View 9 Replies
View Related
Jun 14, 2013

Macro code to find several column names in row 1 (which can be anywhere in the work sheet) and delete them e.g. date, month, code, amount etc.......

Excel version 2007

View 4 Replies
View Related
Sep 19, 2013

I have a big DB with several rows and columns.

Column B has several card numbers (e.i. 7987654345678)

Column C has a location name (e.i. madrid)

Column L has a date (the date is when the card was used)

What I want to do is identify the cards that appear more then twice on the same date and the same place.

Card Number

Location

Date

123

LOC

18/01/2013

[Code] .........

I would like through a macro or pivot to show me the results of the 2 last rows, because those are the only ones that are exactly the same.

I have excel 2007 running on Windows7

View 2 Replies
View Related
Feb 10, 2014

I have one simple (but large table). It has dates across the top (formatted in hh format). I would like the associated table to format according to the day and also to format differently when there is a public holiday. So I have built a table with the holidays and named the relevant cells as "Holiday_Valid".

I have the following formula in the conditional formatting;

[Code]....

Where D11 has the current day in question and Holiday_Valid is a list of public holidays. Since there is a cell for each hour of each day I am using "int()".

There is a second conditional format to format Sundays differently as below;

[Code] .....

My problem is that these both work well....but then after a few minutes the whole sheet crashes with those dreaded "Trying to recover your data" and "Excel will restart" etc.

I have removed references to named ranges and so far - so good....but this means putting the validation table in the same sheet as the main table. In the past I have been able to use named ranges (albeit not in such convoluted formulae), but now it seems that it is not working any longer.

When I open the recovered sheet, all the conditional formatting has been removed and the message from the repairs is that there was some invalid conditional formatting.

Extensive web searches did show some issues with conditional formatting using names ranges....especially with frozen panes....which I need use with a sheet this big.

View 4 Replies
View Related
Feb 11, 2013

I am using Excel 2007. I have a population that I used to create a pivot table. I am currently double clicking on the value cells to create worksheets of only particular "row label" categories. I am then copying the "row label" information into the newly generated work sheet name tab. This works fine when I only have a few "row label" categories to do but it is tedious if there are many categories.

Is there any way to automate the creation of work sheets for all row label values and also naming each work sheet tab with it's respective row label information. Here are images of the pibot table and the type of work sheet I would like for wall row label values.

View 1 Replies
View Related
May 25, 2012

Using Excel 2007

I have six colums (Date; Skill; ST Hrs; OT hrs: Area; Type). I copied and pasted below a small portion of info from the spreadsheet. I know when I copy and paste into a post the information under the headers don't line up exactly...it appears offset, so basically "Date" is of course the date you see..."Skill"'s columns has the first item as nb-mech b..."ST Hrs" first item will be 0.00..."OT Hrs" will be 1.50...."Area"'s first item is "Log FM NO"....and "Type"'s first item is MX07

And there are 17,000 rows of this info and forever growing...a lot of repeated items in each column such as you can see "blaster" has multiple entries on 4/1/2012.

What I am attempting to do which I have not firgured out yet (i have tried array formulas but they bog down the pc forver and couldn't figure out exactly how to make it give me the results I needed...and I also tried sumproducts but that didnt get me what I wanted....and it is being requested of me to NOT make a pivot table but a chart.

What I am trying to create is is the following:

1 - cells to plug in a date range for example cell A1 I plug 4/1/2012 and cell A2 plug 4/30/2012

2 - drop down boxes for columns Skill; Area: Type, which show only unique records in each column

Once I have that, I could then filter all 3 itmes and have only items show in the date ranges I picked and present ONLY the SUMS of columns ST Hrs and OT hrs.

Once the SUMS show up, I can then have cells off to the side that will give a percent break down of what percent of the total hours (for the chose criteria) are ST Hrs and what percent of the total are OT Hrs....and this percentage break down will show up in a Bar Chart, per day chosen in my date ranges....I'm thinking one simple stacked bar per day in the chart.

So say, based on the info below, I wanted to see the total ST Hrs and OT Hrs from 4-1-12 to 4-2-12 for a nb-blaster in LOG FM NO and type MX06.....my result would be 0.00 ST Hrs...23 OT Hrs.....and my bar chart would be one simple bar peaked out at 23 on day 4-1-12.....and within the bar it would be 0.00% ST Hrs and 100% OT Hrs and maybe the total hours for each showing also..don't need that but it may be useful.. ..and no bar for 4-2-12 (because the criteria picked had no hours for 4-2-12)

I have been messign witht is all week and just can't nail it.. I do remember a while ago I would have been able to load the spreadsheet into the post and people could see it in excel...is that option to do that no longer on this site?

DateSkillST HrsOT HrsAreaType

4/1/2012nb - mech b0.00 1.50 Log FM NOMX07

4/1/2012nb - scaffolding0.00 8.50 Bogs NOMX02

4/1/2012nb - coatings mech b0.00 3.00 Log FM NOMX07

[Code].....

View 5 Replies
View Related
Jun 25, 2012

Column A & B has a list of Supplier Part numbers and Buyer Part numbers as below.

Supplier P/N

Buyer P/N

HGFYE/12

111111

HYEYDH/14

222222

[Code] ..........

Cell D2 is an open cell that any data can be entered into as a search term. What I am trying to do is search for a Supplier P/N that have the characters "H", "G" or "E" in it, so entering "HGE" into cell D2 would display the results into columns F & G as below.

Supplier P/N

Buyer P/N

HGFYE/12

111111

HDGTEY/56

333333

I can easily do a formula for 1 character or a string of characters.

To complicate it further, if the search term has in this example has "YFF", I would like the same formula/code to workout that the result in F & G should show this time

Supplier P/N

Buyer P/N

YHDHFF/58

555555

I am using Windows 7 and Excel 2007.

View 2 Replies
View Related
Jul 10, 2012

I have an Excel 2007 Workbook which is refreshed by a Web Query. I have dynamic named range defined as "Manager" which I've confirmed is correctly identified. This range includes only one column and is formatted as text.

When I try to reference this range in my conditional formatting "refers to" formula, all cells are recognized as blank even though the range clearly contains many cells that are not. For example, there are 90 records containing the initials "PD". If I use the formula =Manager="PD" in my conditional formatting, nothing changes. If I change it to =Manager="" then ALL records are formatted, including those that are not blank.

Stranger still, if I enter the formula =COUNTIF(Manager,"PD") into and empty cell in my worksheet those 90 records are counted correctly. Which leads me to believe it isn't about the data. Conversely, =COUNTIF(Manager,"") returns the correct count of only cells that are, in fact, blank.

I've tried using the OFFSET formula defining my range in place of the name itself for my conditional format formula to no avail.

View 2 Replies
View Related
Aug 21, 2014

Excel 2007 and very new to VBA...

I have a userform (named "QAReviewForm") with a combobox (named "cboSupName"). I want it to populate with my named range "SupList".

FYI, the SupList is found on sheet 2, "Administrative Menu" in column E. E1 contains the heading "Supervisors", and my named range formula is

Formula:

[Code ] .....

When it runs, my form opens and the combobox is there, but nothing appears as options for me to select (yes, I have some values in column E).

View 11 Replies
View Related
Aug 12, 2009

I need to use weeknum() for a number of situations in a project I'm working on. But when I use =WEEKNUM(DATE(2010;1;31)) it returns 6, instead of 4 as it should. Using it on today's date returns correct number.

View 3 Replies
View Related
Sep 27, 2012

I am using a ComboBox in Excel 2007 in a UserForm. It is drawing on a row source which populates empty cells duplicates. How do I get the drop down box results to only show unique values and nonblank entries?

View 4 Replies
View Related
Jan 15, 2013

In Excel 2007, Windows 7 Home Premium, I am trying to summarise multiple worksheets into one sheet, creating a list in one column in this summary sheet that includes the cell contents from the same cell from each sheet. For example, my first sheet is called KCD183 and I want to list the value from KCD183 Cell A2 in my Summary Cell A2, then show KCD184 Cell A2 in Summary Cell A3 (i.e. the next row down). So my Summary sheet will list all cell A2s from all my sheets, 1 after the other down column A and will continue to add these for any new sheets I add.

I realise that I could just export the spreadsheet to Access and report on it from there, but I don't have the software!

View 4 Replies
View Related
Feb 22, 2007

I did a data table yesterday and it worked. I tried again today and the results are incorrect. They are coming out as a constant (the same result as the original formula). Has anyone had this happen before and figured out how to fix? My spreadsheet is fairly complex. Does the data table formula need to refer to the "base" cells? For example, if the formula refers to cell F15, but in F15 the formula is +C15, does my data table formula need to use C15?

View 3 Replies
View Related
Aug 24, 2012

I am using countif formula to count number of times each name appears in a row, but when I use the filter opeion and select a specific name, and highlight the whole row, the 'count' at bottom right of excel screen does not show same count as the outcome of countif. why is this so?Shouldnt they both be the same?

View 4 Replies
View Related
Aug 1, 2014

I just want to ask the user to enter the date in a mm/dd/yy format, however, the date received is some how changing.

For example I execute the following code and get 8/01/14 instead of 8/21/14

[Code].....

I have even tried pulling the date from a formatted cell with no luck.

View 5 Replies
View Related
Aug 19, 2013

I have a Excel 2010 spreadsheet that contains 3 columns of (Â£) values. I am wanting to highlight a cell if one of these values do not match the other 2 columns. e.g below I would need the middle column to be highlighted as it does not match the other 2 cells.

25,449.47

25,451.65

25449.47

The thing to point out is that it can be any of the cells that do not match, not necessarily the middle column and occasionally all cells will not match and all need to be highlighted.

I am sure I need to use the Conditional Formatting, but cannot figure the formula.

View 5 Replies
View Related
Dec 1, 2009

I have created a table in excel, and it has a very simple sum totals. When i include all cells in the table the total becomes 0. When I exclude a cell in the table, the total shows. I have deleted the row and re inserted another one and copied the cell content from above that was not having a problem,

View 9 Replies
View Related
Feb 15, 2013

Excel 2010

I have the following SUMIFS formula that produces the desired results until I get the the last qualifier, displayed in red:

=SUMIFS(JBHAMOUNT,JBHMONTH,C18,BNSFCATEGORY,B20,BNSFLOCATION,"Alliance")

The result of this formula is: #VALUE!

View 2 Replies
View Related
Dec 20, 2009

I have a formula that is correct all the way up to adding the last *K9. here is an

example:

C9 a number 4 then add 1 to it which makes it 2 now * it by D9 which is the number 384 and the answer is 768 now * that by K9 which is 6 and you get 4608 I'm getting 2310 using this formula... =IF( C9=0, 0, C9+1*D9)*K9.

View 3 Replies
View Related
Jan 27, 2014

I'm using some workbook-scoped named formulas to define some dynamic ranges which will be referred to by numerous worksheets. The named ranges are defined like:

NAME: gTable_costDetailsEquipment

REFERS TO: =globalParameters!$B$5:INDEX(globalParameters!$B$5:$C$1048576,1+countAdjacentNonBlank

(globalParameters!$B$5,"down"),1+countAdjacentNonBlank(globalParameters!$B$5,"right"))

From either of the tabs "Reports" or "DOR_Template" the user can press the large "+" icon to add a report (which copies the template or the last report to a new sheet).

When this Sheet copy takes place, excel is repeating my named formulas - this time it's making LOCAL versions scoped to the newly made worksheet.

I've used this copy sheet trick before and have never had excel create new, locally scoped, named formula for each workbook level name.

I also just recently started using excel 2013, is this a problem with the new version? I've just never seen this problem, usually workbook-level names are NOT duplicated on sheet copy.

View 2 Replies
View Related