Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
{=AVERAGE(N(OFFSET(A13,
,LARGE((G13:IV13<"")*(COLUMN(INDIRECT("G:IV"))),{ 1,2,3,4})-1,1,1)))} That's the formula that I'm working with. As the subject says, I need a way for it to display a dash in the cell and not the #REF error. Is there anyone out there that can help me out? P.S. I didn't write the formula to begin with and know next to nothing about excel |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I can't duplicate a REF error, i get a #value but this should fix you:
=IF(ISREF(AVERAGE(N(OFFSET(A13,,LARGE((G13:IV13<" ")*(COLUMN(INDIRECT("G:IV"))),{1,2,3,4})-1,1,1)))),"-",AVERAGE(N(OFFSET(A13,,LARGE((G13:IV13<"")*(COLU MN(INDIRECT("G:IV"))),{1,2,3,4})-1,1,1)))) -- -John Please rate when your question is answered to help us and others know what is helpful. " wrote: {=AVERAGE(N(OFFSET(A13, ,LARGE((G13:IV13<"")*(COLUMN(INDIRECT("G:IV"))),{ 1,2,3,4})-1,1,1)))} That's the formula that I'm working with. As the subject says, I need a way for it to display a dash in the cell and not the #REF error. Is there anyone out there that can help me out? P.S. I didn't write the formula to begin with and know next to nothing about excel |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
John,
I put that formula in and then it showed #VALUE, not a dash. I don't know if this is anything or not, but I've noticed that when I highlight the cell when it has the original formula, the formula is enclosed in brackets {...}. However, when I click in the formula field to edit it, those brackets disappear. I've tried putting them back on the off chance that they're screwing something up, but when I do, it completely invalidates the formula and places everything in the cell as normal text. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Never seen those before in use in Excel, sorry my solution didn't work, I
could not get a #REF error so its kind of hard to troubleshoot. Maybe if you post what data is being calculated. -- -John Please rate when your question is answered to help us and others know what is helpful. " wrote: John, I put that formula in and then it showed #VALUE, not a dash. I don't know if this is anything or not, but I've noticed that when I highlight the cell when it has the original formula, the formula is enclosed in brackets {...}. However, when I click in the formula field to edit it, those brackets disappear. I've tried putting them back on the off chance that they're screwing something up, but when I do, it completely invalidates the formula and places everything in the cell as normal text. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for the quick answers, I really appreciate it. As for the data,
it's just ones and zeroes. This is a spreadsheet for QA purposes for phone calls. Basically, a 1 means that the requirement has been met, a 0 means that it hasn't. Now, if the requirement was N/A, then the cell is to be left blank. This isn't something that's dreadfully important that needs fixed, it's more of a minor annoyance that I'd like to see go away. :) Hope this helps. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Why don't you try this: You go to the cell where you want the dash to appear,
right click the mouse, go to format cells, under category click on customs and select this one: _(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_) I think is the third from the bottom. It works for me. You'll see a dash instead of the zeroes. Byron720 " wrote: John, I put that formula in and then it showed #VALUE, not a dash. I don't know if this is anything or not, but I've noticed that when I highlight the cell when it has the original formula, the formula is enclosed in brackets {...}. However, when I click in the formula field to edit it, those brackets disappear. I've tried putting them back on the off chance that they're screwing something up, but when I do, it completely invalidates the formula and places everything in the cell as normal text. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Well, I appreciate the suggestion however that didn't work either.
Besides, I'm not getting 0's in the cell, it's a #REF error. Byron720 wrote: Why don't you try this: You go to the cell where you want the dash to appear, right click the mouse, go to format cells, under category click on customs and select this one: _(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_) I think is the third from the bottom. It works for me. You'll see a dash instead of the zeroes. |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(ISERROR(AVERAGE(N(OFFSET(A13,LARGE((G13:IV13< "")*(COLUMN(INDIRECT("G:IV"))),{1,2,3,4})-1,1,1)))),"-",AVERAGE(N(OFFSET(A13,LARGE((G13:IV13<"")*(COLUM N(INDIRECT("G:IV"))),{1,2,3,4})-1,1,1))))
All entered using Ctrl-Shift-Enter. HTH, Bernie MS Excel MVP wrote in message ps.com... Well, I appreciate the suggestion however that didn't work either. Besides, I'm not getting 0's in the cell, it's a #REF error. Byron720 wrote: Why don't you try this: You go to the cell where you want the dash to appear, right click the mouse, go to format cells, under category click on customs and select this one: _(* #,##0_);_(* (#,##0);_(* "-"??_);_(@_) I think is the third from the bottom. It works for me. You'll see a dash instead of the zeroes. |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
#11
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you know that the values are all correct and that it's likely a valid
error (like there's no data for any particular entry), you should be able to fix it with an IF and ISERR statement. In the cell where your formula is, copy the text of the formula and then: =IF(ISERR(pasteformula),"-",pasteformula) This will give you a dash if there's any kind of calculation error, and will give you the result if it's valid. Any other character will print as long as it's in quotes in the seconf comma. -beth " wrote: {=AVERAGE(N(OFFSET(A13, ,LARGE((G13:IV13<"")*(COLUMN(INDIRECT("G:IV"))),{ 1,2,3,4})-1,1,1)))} That's the formula that I'm working with. As the subject says, I need a way for it to display a dash in the cell and not the #REF error. Is there anyone out there that can help me out? P.S. I didn't write the formula to begin with and know next to nothing about excel |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
making a formula that will display a "word" in multile cells | Excel Worksheet Functions | |||
how to display subjects taught by a specific teacher upon selection of the teacher name in a drop down box | New Users to Excel | |||
How to display results to certain number of significant figures | Excel Discussion (Misc queries) | |||
How do you display Greek and Russian languages in excel? | Excel Discussion (Misc queries) | |||
Combine & Display “Fixed” & “Automatically Updated” Date Parts | Excel Worksheet Functions |