Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Distinguishing between Cells with Formula vs Cells with Text/Value

I want to be able to distinguish cells having formulas from cells having just
values. In my particular case, the values will all be numeric. Is there an
easy way to do that?

My goal is to sum all the values in a given column, ignoring any cells
containing formulas that may also be in the column.

I'd like to avoid using a macro or User defined function.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Distinguishing between Cells with Formula vs Cells withText/Value

select the column | Ctrl + G | click special | select constants | ok

on stutus bar right click | sum |


On Oct 6, 8:29*pm, bstobart
wrote:
I want to be able to distinguish cells having formulas from cells having just
values. *In my particular case, the values will all be numeric. *Is there an
easy way to do that?

My goal is to sum all the values in a given column, ignoring any cells
containing formulas that may also be in the column.

I'd like to avoid using a macro or User defined function.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Distinguishing between Cells with Formula vs Cells with Text/V

Can I do that in a formula directly without the mouse moves?

"muddan madhu" wrote:

select the column | Ctrl + G | click special | select constants | ok

on stutus bar right click | sum |


On Oct 6, 8:29 pm, bstobart
wrote:
I want to be able to distinguish cells having formulas from cells having just
values. In my particular case, the values will all be numeric. Is there an
easy way to do that?

My goal is to sum all the values in a given column, ignoring any cells
containing formulas that may also be in the column.

I'd like to avoid using a macro or User defined function.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Distinguishing between Cells with Formula vs Cells with Text/V

Try this UDF ( user defined function)

Function Sumnum(rng As Range)
Dim r As Range
Dim v
For Each r In rng
If r.HasFormula = False Then
v = WorksheetFunction.Sum(r) + v
End If
Next r
Sumnum = v
End Function



On Oct 6, 9:02*pm, bstobart
wrote:
Can I do that in a formula directly without the mouse moves?



"muddan madhu" wrote:
select the column | Ctrl + G | click special | select constants | ok


on stutus bar right click | sum |


On Oct 6, 8:29 pm, bstobart
wrote:
I want to be able to distinguish cells having formulas from cells having just
values. *In my particular case, the values will all be numeric. *Is there an
easy way to do that?


My goal is to sum all the values in a given column, ignoring any cells
containing formulas that may also be in the column.


I'd like to avoid using a macro or User defined function.- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Help: Add cells with certain text + cells that are blank Nicole L. Excel Worksheet Functions 3 February 27th 07 06:59 AM
distinguishing formula cells [email protected] Excel Discussion (Misc queries) 6 June 12th 06 01:10 AM
Formula to add two cells when one or both cells are text [email protected] Excel Worksheet Functions 2 April 12th 06 04:19 PM
Delete text in cells but keep formula YanYan Excel Worksheet Functions 4 December 1st 05 01:08 PM
Can I create a formula from text in several cells? bmac Excel Worksheet Functions 3 May 12th 05 05:59 PM


All times are GMT +1. The time now is 05:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"