Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
If...Then function
I was wondering if anyone could help me get this to work
If Range("B30:BS30").Formula = "=SUM(B19:B29)" Then Range("B31:BS31").Value = "yes" |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
If...Then function
Try:
Sub chkFrm() Dim cell As Range For Each cell In Range("B30:BS30") If cell.FormulaR1C1 = "=SUM(R[-11]C:R[-1]C)" Then cell.Offset(1, 0).Value = "yes" End If Next cell End Sub Hope this helps Rowan Pingin wrote: I was wondering if anyone could help me get this to work If Range("B30:BS30").Formula = "=SUM(B19:B29)" Then Range("B31:BS31").Value = "yes" |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
If...Then function
Thank you that was really helpful
|
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
If...Then function
You're welcome.
Pingin wrote: Thank you that was really helpful |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Data Validation/Lookup function does function correcty | Excel Worksheet Functions | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions | |||
Adding a custom function to the default excel function list | Excel Programming |