Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
hi everyone I want to write a sub that converts all values of two
consecutive columns(C1:D190) from c degree to f degree.I know the formula but don't know how to apply it to all cells I'm completely confused .This is part of my school project and I don't know how to do it. please help ... |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
In the column(s) for your F degrees:
=(C1*1.8)+32 assuming C1 is the degrees C Copy this formula down to row 190. HTH "sally" wrote: hi everyone I want to write a sub that converts all values of two consecutive columns(C1:D190) from c degree to f degree.I know the formula but don't know how to apply it to all cells I'm completely confused .This is part of my school project and I don't know how to do it. please help ... |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
thanks for your reply but, I want to convert the column itself to F
degree and have the F values written in the same column.I have tried something like the sub below,but it changes the column to a single value depend on the activecell.what do I have to do? Public Sub advancedctoof1() Dim Rng As Range Dim f As Single For Each Rng In Range("E1:E22") f = ((Activecell.Value) / (5 / 9) + 32) Rng.Formula = f Next Rng End Sub |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
Assuming your first number is in A1, in a blank cell (e.g. b1) type
=A1&"--"&(A1*1.8)+32. Copy down as far as needed. For A1=0, B1 will display 0--32. Modify as needed. "sally" wrote: hi everyone I want to write a sub that converts all values of two consecutive columns(C1:D190) from c degree to f degree.I know the formula but don't know how to apply it to all cells I'm completely confused .This is part of my school project and I don't know how to do it. please help ... |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
Public Sub advancedctoof1() Dim Rng As Range Dim f As Double For Each Rng In Range("E1:E22") f = (Rng.Value * 1.8) + 32 Rng.Value = f Next Rng End Sub "sally" wrote: thanks for your reply but, I want to convert the column itself to F degree and have the F values written in the same column.I have tried something like the sub below,but it changes the column to a single value depend on the activecell.what do I have to do? Public Sub advancedctoof1() Dim Rng As Range Dim f As Single For Each Rng In Range("E1:E22") f = ((Activecell.Value) / (5 / 9) + 32) Rng.Formula = f Next Rng End Sub |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
Thank you very very much for your help
|
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
school project ..please help
No problem ..good luck with the project!
"sally" wrote: Thank you very very much for your help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
school project ..please help | Excel Worksheet Functions | |||
How to convert MS Project to MS Excel. I don't have MS Project. | Excel Discussion (Misc queries) | |||
Cannot save Project file as MS Access file | Excel Discussion (Misc queries) | |||
Missing library when running 98 project on 2003 | Excel Discussion (Misc queries) | |||
Subtotal of Subtotal displays Grand Total in wrong row | Excel Worksheet Functions |