Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Displaying values rather than formula in cells


With Target.Offset(0, 1)
.FormulaR1C1 =
"=SUMPRODUCT(--(WE_Date_Raw=DATE(YEAR(RC[-1]),MONTH(RC[-1]),DAY(RC[-1]))),(D
efects_Raw))"
.Value = .Value
End With
With Target.Offset(0, 2)
.FormulaR1C1 =
"=SUMPRODUCT(--(WE_Date_Raw=DATE(YEAR(RC1),MONTH(RC1),DAY(RC1))), (Opportunit
ies_Raw))"
.Value = .Value
End With



--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Barb Reinhardt" wrote in message
...
I have the following in a worksheet change event:

Target.Offset(0, 1).FormulaR1C1 =

"=SUMPRODUCT(--(WE_Date_Raw=DATE(YEAR(RC[-1]),MONTH(RC[-1]),DAY(RC[-1]))),(D
efects_Raw))"
Target.Offset(0, 2).FormulaR1C1 =

"=SUMPRODUCT(--(WE_Date_Raw=DATE(YEAR(RC1),MONTH(RC1),DAY(RC1))), (Opportunit
ies_Raw))"


I want it to display the results in the cells instead of the formulas.

What
do I need to change to get this to do what I want?

Thanks in advance



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 for displaying only the last entry of a group of cells Steve Excel Worksheet Functions 2 March 22nd 10 01:34 PM
Displaying temporary values on formula cells. Is this possible?q DjFreeX Excel Discussion (Misc queries) 0 August 29th 06 04:46 PM
Formula for displaying in 1 cell Lowest value from multiple other cells [email protected] Excel Worksheet Functions 1 March 16th 06 11:07 PM
Comparing values in two columns and displaying missing values in n cpetta Excel Programming 1 April 2nd 05 06:18 AM
Displaying Formulas and Values of the Same Cells estherf04 Excel Programming 1 August 30th 04 10:31 PM


All times are GMT +1. The time now is 05:00 PM.

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

About Us

"It's about Microsoft Excel"