I have a workbook with a summary sheet for 25 other sheets. On these 25 sheets there is a cell that is the same cell on every sheet, but may contain different values based on formulas within the specific sheet. In other words, cell D17 on sheet '1' will be different from D17 on any other sheet. On the summary sheet row 1 would refer to sheet 1. I need the cells in row 1 of the summary sheet to look for specific values in a specific cell on sheet 1 and simply copy the value. When I simply enter ='1'D17 it works, But when I try to copy that formula down the column it comes out in row 2 as '1'D18 instead of '2'D17. I either need a formula that will reference the proper sheet or find a way to enter the formulas in the first row and be able to copy them all the way down and only change the sheet number, NOT the cell number. I hope I have provided enough information.

0 |

12/12/2009 3:46:01 PM

Try this... Assume you enter the first formula in cell A1: =INDIRECT("'"&ROWS(A$1:A1)&"'!D17") Copy down as needed. -- Biff Microsoft Excel MVP "Neil M" <neilmonkman@hotmail.com> wrote in message news:098C86D5-C8F9-4A38-AE9D-E2E130DDC7C1@microsoft.com... >I have a workbook with a summary sheet for 25 other sheets. On these 25 > sheets there is a cell that is the same cell on every sheet, but may > contain > different values based on formulas within the specific sheet. > In other words, cell D17 on sheet '1' will be different from D17 on any > other sheet. > > On the summary sheet row 1 would refer to sheet 1. I need the cells in row > 1 > of the summary sheet to look for specific values in a specific cell on > sheet > 1 and simply copy the value. > When I simply enter ='1'D17 it works, But when I try to copy that formula > down the column it comes out in row 2 as '1'D18 instead of '2'D17. > > I either need a formula that will reference the proper sheet or find a way > to enter the formulas in the first row and be able to copy them all the > way > down and only change the sheet number, NOT the cell number. > > I hope I have provided enough information.

0 |

12/12/2009 4:57:28 PM

That didn't really do anything. Maybe if I gave exact sheet numbers/names and the cell numbers. On sheet 'Master Totals' row 4 represents totals from sheet '1' B4 should equal cell i2 on sheet '1' C4 should equal cell Q14 on sheet '1' D4 should equal cell Q16 on sheet '1' E4should equal cell Q7 on sheet '1' F4 should equal cell Q21 on sheet '1' G4 should equal cell Q22 on sheet '1' H4 should equal cell Q23 on sheet '1' Once I get that row completed I want to drag and copy down the formulas so that row 5 equals the exact same cells on sheet '2'. row 6 on sheet '3' and so on. I don't mind having to do one column at a time. Right now I am entering them one formula per cell at a time. "T. Valko" wrote: > Try this... > > Assume you enter the first formula in cell A1: > > =INDIRECT("'"&ROWS(A$1:A1)&"'!D17") > > Copy down as needed. > > -- > Biff > Microsoft Excel MVP > > > "Neil M" <neilmonkman@hotmail.com> wrote in message > news:098C86D5-C8F9-4A38-AE9D-E2E130DDC7C1@microsoft.com... > >I have a workbook with a summary sheet for 25 other sheets. On these 25 > > sheets there is a cell that is the same cell on every sheet, but may > > contain > > different values based on formulas within the specific sheet. > > In other words, cell D17 on sheet '1' will be different from D17 on any > > other sheet. > > > > On the summary sheet row 1 would refer to sheet 1. I need the cells in row > > 1 > > of the summary sheet to look for specific values in a specific cell on > > sheet > > 1 and simply copy the value. > > When I simply enter ='1'D17 it works, But when I try to copy that formula > > down the column it comes out in row 2 as '1'D18 instead of '2'D17. > > > > I either need a formula that will reference the proper sheet or find a way > > to enter the formulas in the first row and be able to copy them all the > > way > > down and only change the sheet number, NOT the cell number. > > > > I hope I have provided enough information. > > > . >

0 |

12/12/2009 9:30:01 PM

>B4 should equal cell i2 on sheet '1' >C4 should equal cell Q14 on sheet '1' >D4 should equal cell Q16 on sheet '1' >E4should equal cell Q7 on sheet '1' >F4 should equal cell Q21 on sheet '1' >G4 should equal cell Q22 on sheet '1' >H4 should equal cell Q23 on sheet '1' Ok, since there's no pattern to the cells being referenced then you'll have to enter an individual formula for each of those: B4: =INDIRECT("'"&ROWS(B$4:B4)&"'!I2") C4: =INDIRECT("'"&ROWS(C$4:C4)&"'!Q14") D4: =INDIRECT("'"&ROWS(D$4:D4)&"'!Q16") E4: =INDIRECT("'"&ROWS(E$4:E4)&"'!Q7") F4: =INDIRECT("'"&ROWS(F$4:F4)&"'!Q21") G4: =INDIRECT("'"&ROWS(G$4:G4)&"'!Q22") H4: =INDIRECT("'"&ROWS(H$4:H4)&"'!Q23") Then, select B4:H4 and copy down as needed. -- Biff Microsoft Excel MVP "Neil M" <neilmonkman@hotmail.com> wrote in message news:F3B7DB33-01A1-4F17-A77A-68762259B706@microsoft.com... > That didn't really do anything. Maybe if I gave exact sheet numbers/names > and > the cell numbers. > > On sheet 'Master Totals' row 4 represents totals from sheet '1' > > B4 should equal cell i2 on sheet '1' > C4 should equal cell Q14 on sheet '1' > D4 should equal cell Q16 on sheet '1' > E4should equal cell Q7 on sheet '1' > F4 should equal cell Q21 on sheet '1' > G4 should equal cell Q22 on sheet '1' > H4 should equal cell Q23 on sheet '1' > > Once I get that row completed I want to drag and copy down the formulas so > that row 5 equals the exact same cells on sheet '2'. row 6 on sheet '3' > and > so on. > > I don't mind having to do one column at a time. Right now I am entering > them > one formula per cell at a time. > > "T. Valko" wrote: > >> Try this... >> >> Assume you enter the first formula in cell A1: >> >> =INDIRECT("'"&ROWS(A$1:A1)&"'!D17") >> >> Copy down as needed. >> >> -- >> Biff >> Microsoft Excel MVP >> >> >> "Neil M" <neilmonkman@hotmail.com> wrote in message >> news:098C86D5-C8F9-4A38-AE9D-E2E130DDC7C1@microsoft.com... >> >I have a workbook with a summary sheet for 25 other sheets. On these 25 >> > sheets there is a cell that is the same cell on every sheet, but may >> > contain >> > different values based on formulas within the specific sheet. >> > In other words, cell D17 on sheet '1' will be different from D17 on any >> > other sheet. >> > >> > On the summary sheet row 1 would refer to sheet 1. I need the cells in >> > row >> > 1 >> > of the summary sheet to look for specific values in a specific cell on >> > sheet >> > 1 and simply copy the value. >> > When I simply enter ='1'D17 it works, But when I try to copy that >> > formula >> > down the column it comes out in row 2 as '1'D18 instead of '2'D17. >> > >> > I either need a formula that will reference the proper sheet or find a >> > way >> > to enter the formulas in the first row and be able to copy them all the >> > way >> > down and only change the sheet number, NOT the cell number. >> > >> > I hope I have provided enough information. >> >> >> . >>

0 |

12/12/2009 10:09:04 PM

In B4 enter =INDIRECT("'"&ROWS(A$1:A1)&"'!I2") In C4 enter =INDIRECT("'"&ROWS(A$1:A1)&"'!Q14") Changing to Q16, Q7 as you enter your formulas one at a time across to H4 When that is done, select B4:H4 and simply drag/copy down as far as you need. The "ROWS" function will change the sheet names to 2, 3, 4 etc. and the cell references will rermain fixed. Gord Dibben MS Excel MVP On Sat, 12 Dec 2009 13:30:01 -0800, Neil M <neilmonkman@hotmail.com> wrote: >That didn't really do anything. Maybe if I gave exact sheet numbers/names and >the cell numbers. > >On sheet 'Master Totals' row 4 represents totals from sheet '1' > >B4 should equal cell i2 on sheet '1' >C4 should equal cell Q14 on sheet '1' >D4 should equal cell Q16 on sheet '1' >E4should equal cell Q7 on sheet '1' >F4 should equal cell Q21 on sheet '1' >G4 should equal cell Q22 on sheet '1' >H4 should equal cell Q23 on sheet '1' > >Once I get that row completed I want to drag and copy down the formulas so >that row 5 equals the exact same cells on sheet '2'. row 6 on sheet '3' and >so on. > >I don't mind having to do one column at a time. Right now I am entering them >one formula per cell at a time. > >"T. Valko" wrote: > >> Try this... >> >> Assume you enter the first formula in cell A1: >> >> =INDIRECT("'"&ROWS(A$1:A1)&"'!D17") >> >> Copy down as needed. >> >> -- >> Biff >> Microsoft Excel MVP >> >> >> "Neil M" <neilmonkman@hotmail.com> wrote in message >> news:098C86D5-C8F9-4A38-AE9D-E2E130DDC7C1@microsoft.com... >> >I have a workbook with a summary sheet for 25 other sheets. On these 25 >> > sheets there is a cell that is the same cell on every sheet, but may >> > contain >> > different values based on formulas within the specific sheet. >> > In other words, cell D17 on sheet '1' will be different from D17 on any >> > other sheet. >> > >> > On the summary sheet row 1 would refer to sheet 1. I need the cells in row >> > 1 >> > of the summary sheet to look for specific values in a specific cell on >> > sheet >> > 1 and simply copy the value. >> > When I simply enter ='1'D17 it works, But when I try to copy that formula >> > down the column it comes out in row 2 as '1'D18 instead of '2'D17. >> > >> > I either need a formula that will reference the proper sheet or find a way >> > to enter the formulas in the first row and be able to copy them all the >> > way >> > down and only change the sheet number, NOT the cell number. >> > >> > I hope I have provided enough information. >> >> >> . >>

0 |

12/12/2009 11:23:22 PM

In the words of Jeff Spikoli..... AWESOME! TOTALLY AWESOME!!!! Thank you all so very much. "Gord Dibben" wrote: > In B4 enter =INDIRECT("'"&ROWS(A$1:A1)&"'!I2") > > In C4 enter =INDIRECT("'"&ROWS(A$1:A1)&"'!Q14") > > Changing to Q16, Q7 as you enter your formulas one at a time across to H4 > > When that is done, select B4:H4 and simply drag/copy down as far as you > need. > > The "ROWS" function will change the sheet names to 2, 3, 4 etc. and the cell > references will rermain fixed. > > > Gord Dibben MS Excel MVP > > > On Sat, 12 Dec 2009 13:30:01 -0800, Neil M <neilmonkman@hotmail.com> wrote: > > >That didn't really do anything. Maybe if I gave exact sheet numbers/names and > >the cell numbers. > > > >On sheet 'Master Totals' row 4 represents totals from sheet '1' > > > >B4 should equal cell i2 on sheet '1' > >C4 should equal cell Q14 on sheet '1' > >D4 should equal cell Q16 on sheet '1' > >E4should equal cell Q7 on sheet '1' > >F4 should equal cell Q21 on sheet '1' > >G4 should equal cell Q22 on sheet '1' > >H4 should equal cell Q23 on sheet '1' > > > >Once I get that row completed I want to drag and copy down the formulas so > >that row 5 equals the exact same cells on sheet '2'. row 6 on sheet '3' and > >so on. > > > >I don't mind having to do one column at a time. Right now I am entering them > >one formula per cell at a time. > > > >"T. Valko" wrote: > > > >> Try this... > >> > >> Assume you enter the first formula in cell A1: > >> > >> =INDIRECT("'"&ROWS(A$1:A1)&"'!D17") > >> > >> Copy down as needed. > >> > >> -- > >> Biff > >> Microsoft Excel MVP > >> > >> > >> "Neil M" <neilmonkman@hotmail.com> wrote in message > >> news:098C86D5-C8F9-4A38-AE9D-E2E130DDC7C1@microsoft.com... > >> >I have a workbook with a summary sheet for 25 other sheets. On these 25 > >> > sheets there is a cell that is the same cell on every sheet, but may > >> > contain > >> > different values based on formulas within the specific sheet. > >> > In other words, cell D17 on sheet '1' will be different from D17 on any > >> > other sheet. > >> > > >> > On the summary sheet row 1 would refer to sheet 1. I need the cells in row > >> > 1 > >> > of the summary sheet to look for specific values in a specific cell on > >> > sheet > >> > 1 and simply copy the value. > >> > When I simply enter ='1'D17 it works, But when I try to copy that formula > >> > down the column it comes out in row 2 as '1'D18 instead of '2'D17. > >> > > >> > I either need a formula that will reference the proper sheet or find a way > >> > to enter the formulas in the first row and be able to copy them all the > >> > way > >> > down and only change the sheet number, NOT the cell number. > >> > > >> > I hope I have provided enough information. > >> > >> > >> . > >> > > . >

0 |

12/13/2009 1:30:01 PM

Can anyone please help with this formula. If Sheet1 Column A = nothing(blank) And Column B = \\\\\\CC\\\\\\ Then Sheet 2 B7 = SumTotal. As a regular formula would be nice or VB code Hi Richard you want nothing at all in the whole of column A in sheet 1? do you want every cell in column B of sheet 1 to have \\\\\\CC\\\\\\ or should this (can this) only appear in one cell? and what range are you summing on sheet 2 in cell B7? Cheers JulieD "Richard" <anonymous@discussions.microsoft.com> wrote in message news:82ce01c477e1$77f0e740$a301280a@phx.gbl... > Can anyone please ...

How do I run a Visual Basic routine from a normal Excel cell. I would like to do something like this: =IF(RunIt=TRUE, Run my Visual Basic routine, Do nothing) So if some calculations results in the variable "RunIt" is set equal to TRUE, the Visual Basic routine must run. Kristian ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ Hi Kristian, You can only run functions from a worksheet. Not subs. You can use a worksheet change event. Do a google search for w...

I am using an =Ave function in a formula to average quite a few cell values together. I add new information all the time; sometimes 5 or 6 new cells at a time. How can I append or up-date my formula to include these new cells with out have to type the new cells into the formula? When I make the cell that has the formula in it active/edit, all of the cells that are referenced in the formula have a highlight around them. Is there a key or key combination I can press while clicking on the cells I want to add to the formula? Thanks, john Hi see your post in Excel.misc -- Regards Frank ...

I have a working SUMPRODUCT formula {=SUMPRODUCT(($C$4:$C$4341=z8)*(audittypefm1="Standard"))} that I need to change the 1st array to C5623. When I do I get a #N/A error. I've tried giving the range a name (empnofm2), and I've verified all the data in the C4:C5623 range is formated the same (general, it is all employee numbers from 2 to 5 digits long. I'm using a "trim all" macro which is working great. I am unable to determine what is causing the #N/A and how to fix it. Basically I copied an entire worksheet within the same workbook and changed the name, wh...

I have 98 sets of magazines each set has 12 in the set what formula can I use to get a total of issues in all sets have you tried 98*12 -- Don Guillett SalesAid Software dguillett1@austin.rr.com "Just Me" <no@isp.com> wrote in message news:eZ66ZEGHGHA.1192@TK2MSFTNGP11.phx.gbl... >I have 98 sets of magazines each set has 12 in the set > > what formula can I use to get a total of issues in all sets > =98*12 or =A1*A2 if the numbers are in A1 and A2 -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Just Me" <n...

Hi, What formula should I use if I want it to look at a specific cell and then work out the total number between two numbers. e.g. if cell H6 had 7-4 entered the number 9 would be returned. Thanks in advance I'm not sure how you got 9, but your life would be much easier if you used two separate cells and then subtracted the smaller from the larger (and then added one???). Boenerge wrote: > > Hi, > What formula should I use if I want it to look at a specific cell and then > work out the total number between two numbers. > e.g. if cell H6 had 7-4 entered the number 9 woul...

Can the offset be used in the below formula for the information in column "K"? In column L have the the following formula's L46 =MAX($I46*1000-$K$46*$J46,0) L47 =MAX($I47*1000-$K$46*$J47,0) .... L99 =MAX($I99*1000-$K$46*$J99,0) What I'd like to do is to copy the fomula into columns M, N, O, ... M47 =MAX($I47*1000-$K$47*$J47,0) M48 =MAX($I48*1000-$K$47*$J48,0) M49 =MAX($I49*1000-$K$47*$J49,0) .... N48 =MAX($I48*1000-$K$48*$J48,0) N49 =MAX($I49*1000-$K$48*$J49,0) .... O50 =MAX($I50*1000-$K$50*$J50,0) O51 =MAX($I51*1000-$K$50*$J51,0) .... How abou...

I have a report that must be turned in the night before for tomorrow's date. Is ithere a date formula that will return tomorrow's date to a cell in Excel? One way: =TODAY() + 1 In article <668782AC-774A-475F-9821-8A4C3B14A983@microsoft.com>, "Shadyhosta" <Shadyhosta@discussions.microsoft.com> wrote: > I have a report that must be turned in the night before for tomorrow's date. > Is ithere a date formula that will return tomorrow's date to a cell in Excel? I assume that you want the date to remain static after entry. Easiest way, use 2...

I have two text files that I would like to merge into one based on a common data field. One has persons' names and addresses, the other has different information about each person. Both have a unique ID number that can be used to combine the data. What is the best way to bring them together? Using Excel? or Access? What process should I use to get the text data into the program? then to combine the data? I'd appreciate whatever help anyone can give. Thank you, Jeanne Import the data into two separate Access tables. Create a new query using both tables as the data source. Mak...

Can anyone help with the weekday formula. What I want to do is enter the date in say A1 11/20/2003 and have B return the answer of Thursday. Currently I use the weekday formula bu only returns the number of the day. Thanks in advance B ----------------------------------------------- ~~ Message posted from http://www.ExcelTip.com ~~View and post usenet messages directly from http://www.ExcelForum.com There are several ways to do this. One is to enter =A1 and format the cell with a custom number format of dddd. Another way is to use the function =TEXT(A1,"dddd"). -- Cordiall...

Am I able to calculate the trend over multiple sheets to get on inclusive trend using the trend function, if so how do I do i -- geooi ----------------------------------------------------------------------- geooil's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1650 View this thread: http://www.excelforum.com/showthread.php?threadid=27890 How many data points? You cannot plot data that stretches over multiple sheets without somehow consolidating it: http://peltiertech.com/Excel/ChartsHowTo/ChartFromDiffSheets.html I'm not sure LINEST works with range...

At least I think that's what I'm looking for. here's my situation: I've got a sheet where there is a variable (X) that changes depending on what row it is on. So I have a column (column c) that lists these variables (X is dependant on things from a different sheet). X is a muliplier that is utilized differently depending on the value of N. N is a Picklist selection and can change periodically. Or even be duplicated on more than one row. I have a vlookup that checks the value of N (column a) and needs to return a formula that has X applied if needed on the approp...

Hi, How do I change the following formula =SUMIF($F$39:$F$79,"PW Shopfitters",$D$39:$D$79)/COUNTIF($F$39:$F$79,"PW Shopfitters") to count within a named range (PW Shopfitters). Any help would be great. Cheers, Phil Hi A range name cannot have spaces, maybe that's your problem. Name your range PW_Shopfitters. Then replace your cell references with PW_Shopfitters, eg =Sumif(PW_Shopfitters,"PW Shopfitters",............ -- j.kasselman@atlantic.net.remove_2nd_at. Randburg, Gauteng, South Africa "PW11111" wrote: > > Hi, > &g...

Hello. I have this formula loaded from a text field on a form: val([field10])+val([field20]) and I would like to use this as a code formula. I mean, if I use that in VBA code it works, but If I load from a text field it doesn't work. I need that my form use that formula stored in a text field to calculate values. Regards in advance, Marco responded to in another newsgroup. It's rarely necessary to post the same question to more than one group. If it is necessary, select all the relevant newsgroups in the "To:" or "Newsgroups:" field. That way, folks who...

In Excel 2007, is there a place to select the data to print? I have a user that when she goes to print a document, the 'print what' section of the print box defaults to 'entire workbook.' She wants it to default to 'active sheets.' Is there a setting in Excel or the Registry that I can edit? Thanks, John ...

Dear MS, How about a new function for this one. I'm sure MANY users have the same problem as me. The research below seems quite comprehensive and has effectively come up against a brick wall. Thanks Peter Harlan Grove posted this UDF: http://www.google.com/groups?selm=hkQVb.2432%24_4.259%40www.newsranger.com Peter wrote: > > Very Helpful Papou - thank you! > Do you know of an additional / alternative method where you achieve the same tihing but are not required to have all the relevant work sheets open? > Many thanks > Peter > > "papou" wrote: > ...

What formula in access can do =COUNTIF(CAF!D:D,A3) Basicly I have 2 tables I want the 2nd table to count how many times a number is listed in the 1st table. I am trying to do this with a query and the count expression but keep getting errors. Dont bother with this one guys just figured it out AMDGUY [MCP] wrote: > What formula in access can do > =COUNTIF(CAF!D:D,A3) > > Basicly I have 2 tables > > I want the 2nd table to count how many times a number is listed in the > 1st table. I am trying to do this with a query and the count expression > but keep getting e...

Here is my situation: I have the following accounts at Fidelity: Under my login ID: Financial Institution is named "Fidelity Investments" for these accounts My Rollover IRA My Roth IRA Joint brokerage account Under my wife's login ID: Financial Institution is named "Fidelity Investments # 2" for these accounts Wife's Rollover IRA Wife's Roth IRA Joint brokerage account The Joint Brokerage account is the same, and shows up at the Fidelity web site when either of us logs into Fidelity. This setup is giving m...

What does the $ symbol mean in a formula? example: =G8*($A$14*2)*100 thanx The $ is used for absolut referencing. For e.g lets take your formula =G8*($A$14*2)*100 suppose you enter this formula in cell B2, now simply copy this formula one cell to the right (C2) by and one cell down (B3). C2: =H8*($A$14*2)*100 B3: =G9*($A$14*2)*100 So you see that The original G8 has changed, whereas $A$1 remains the same in both the new formulae because of the dollar signs. Mangesh "S" <S@discussions.microsoft.com> wrote in message news:D86597A4-C0A1-46AF-9DA6-FE06AB9C1FA0@mi...

i dont know if you can do this..... if(c5=10, take the cell 5 right 3 down to it, 0) if you can, i dont know how to write it in excel language thanks if anyone can hel -- cutsygur ----------------------------------------------------------------------- cutsygurl's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1504 View this thread: http://www.excelforum.com/showthread.php?threadid=27569 cutsygurl Wrote: > i dont know if you can do this..... > if(c5=10, take the cell 5 right 3 down to it, 0) > if you can, i dont know how to write it in excel language &...

I have $700,000 to spend on advertising for three different products. My market share for the three products is 51.96%, 36.07% and 41.25%. I want to apportion my 700K between the three products so that the product with the lowest market share gets the most advertising dollars, etc. Using my data, I've been trying to devise a formula all night that would do this, but I'm stumped. I could use a hint... Here's one way of doing it - put 700,000 in A1 and put your 2 percentage shares in B1:B3 and then put this formula in C1: =3DA$1*(1-B1/SUM(B$1:B$3))/2 Format as currency and co...

I have a worksheet that I use over-and-over again. It has several columns of data, and some of the columns have long and hard to remember formulas to total the columns. I usually delete the numbers in the columns after I print out the worksheet, leaving the formulas intact at the bottom of the columns. Being human, I occasionally goof and delete the sum formulas too. Is there a way that I can lock the formula cell at the bottom of the column so that I don't accidentally delete it? Thanks in advance, Malcolm A two step process a) select the cell that you DO want the user ...

Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel is it possible to use multiple fonts and set them as a default in the return address box on the envelop tool? <br><br>I see how to change the font of the whole box, but I want to mix fonts in the return. Any suggestions appreciated. <br><br>Ken Gano I suspect not: There is only one style, named "Envelope Return". I suspect the formatting applied is whatever you set in Envelope return (which is inherited from Normal if you do not set it). Hope this helps On 10/12/0...

Hi all, I want to be able to get the cell reference (in the format A1) of a GETPIVOTDATA reference. For example: =(GETPIVOTDATA("Sum of Qty",'$A$5,"Customer Name","ABC Company")) pulls data from a corresponding cell in the table. That reference is A10 but I want to get this from the actual GETPIVOTDATA reference itself. Is this possible? Regards Morgan ...

good day! i copied a table from a html and paste to excel2000 i try to get the sum =SUM(B5:B10) but the outcome is 0.when i check the number on the cell,i found out that theres a space at the end. i try this formula {=SUM(VALUE(SUBSTITUTE(B5:B10," ","")))} but the result was #VALUE!. Hi! > i copied a table from a html Chances are the "space" is really a char(160) space. Try this: =SUMPRODUCT(1*SUBSTITUTE(B5:B10,CHAR(160),"")) Your best course of action would be to get rid of those characters and then use a simple =SUM(B5:B10). ...