Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I could probably find the answer to this question if I only new the right
terms to search by. My problem is I have a sheet where I have values in cells b3 through m3. I then average those values in cell n3. I have multiple(many) rows so I dragged this formula down to the bottom. The problem is that for any rows where I don't have data in the b through m cells the cell(n3) displays #DIV/0!. Is there a way to write the formula so that it will be blank unless data is entered into b3 through m3? This is really only a cosmetic issue as I could easily delete those formulas where I don't yet have data and drag them in when I do but that isn't the most elegant solution. Any help? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Try this: =IF(ISERR(your formula),"",your formula) -- Cutter ------------------------------------------------------------------------ Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848 View this thread: http://www.excelforum.com/showthread...hreadid=523724 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=IF(ISERROR(formula),"",formula) Replace the word formula with whatever formula you're currently using. HTH, Elkar "Matt" wrote: I could probably find the answer to this question if I only new the right terms to search by. My problem is I have a sheet where I have values in cells b3 through m3. I then average those values in cell n3. I have multiple(many) rows so I dragged this formula down to the bottom. The problem is that for any rows where I don't have data in the b through m cells the cell(n3) displays #DIV/0!. Is there a way to write the formula so that it will be blank unless data is entered into b3 through m3? This is really only a cosmetic issue as I could easily delete those formulas where I don't yet have data and drag them in when I do but that isn't the most elegant solution. Any help? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks to both of you that worked.
"Elkar" wrote: Try this: =IF(ISERROR(formula),"",formula) Replace the word formula with whatever formula you're currently using. HTH, Elkar "Matt" wrote: I could probably find the answer to this question if I only new the right terms to search by. My problem is I have a sheet where I have values in cells b3 through m3. I then average those values in cell n3. I have multiple(many) rows so I dragged this formula down to the bottom. The problem is that for any rows where I don't have data in the b through m cells the cell(n3) displays #DIV/0!. Is there a way to write the formula so that it will be blank unless data is entered into b3 through m3? This is really only a cosmetic issue as I could easily delete those formulas where I don't yet have data and drag them in when I do but that isn't the most elegant solution. Any help? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Another way is to look at the quantity of numbers in that range:
=if(count(b3:m3)=0,"No numbers",average(b3:m3)) Matt wrote: I could probably find the answer to this question if I only new the right terms to search by. My problem is I have a sheet where I have values in cells b3 through m3. I then average those values in cell n3. I have multiple(many) rows so I dragged this formula down to the bottom. The problem is that for any rows where I don't have data in the b through m cells the cell(n3) displays #DIV/0!. Is there a way to write the formula so that it will be blank unless data is entered into b3 through m3? This is really only a cosmetic issue as I could easily delete those formulas where I don't yet have data and drag them in when I do but that isn't the most elegant solution. Any help? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell display is 38727.4101273148 Formula Bar is 1/10/2006 9:50 | Excel Discussion (Misc queries) | |||
Can I make a formula in Excel to display result in same cell? | Excel Worksheet Functions | |||
Text in formula bar is not displaying in cell | Excel Discussion (Misc queries) | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |