Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do I write a If statement that compares the next row and then divide a
number that is in another column. Here is an example of my data: sales order actual hour Avg # of hrs 660000001234 40.0 660000001234 660000001234 Here is my formula: =IF(A50 = A51,F50/2, F50) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You have written the right formula yourself...
=IF(A50 = A51,F50/2, F50) This will check wheterh A50 is equal to A51 and divide F50 by 2 if they are otherwise leave F50 the same... "Lizz45ie" wrote: How do I write a If statement that compares the next row and then divide a number that is in another column. Here is an example of my data: sales order actual hour Avg # of hrs 660000001234 40.0 660000001234 660000001234 Here is my formula: =IF(A50 = A51,F50/2, F50) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement inside a SUMIF statement.... or alternative method | Excel Worksheet Functions | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
Sum if statement with a left statement | Excel Discussion (Misc queries) | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions |