Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do I make the numerical value of column "a" postive or negative based on
the text value of column "b" For example: $126,513.00 c $5,616,156.00 d $132.00 d $156.00 d $55,444.00 c When I upload the data all numbers come up positive. I would like it to make it so the number comes up negative if column b contains a "c" and positive if it contains a "d". I am willing to have to create a function in row c and have the numbers in "a" move to column "c". |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Put this formula in C1, then:
=IF(B1="c",-A1,A1) and copy down (double-click the fill handle [the small black square in the bottom right corner of the cursor] with C1 selected). If you want to put the values back in column A, then highlight the cells in C, click <copy then Edit | Paste Special | Values (check) | OK then <Enter. This will have fixed the values, so that you can now copy them over the original values in column A and delete column C. Hope this helps. Pete On Oct 29, 7:00 pm, adam wrote: How do I make the numerical value of column "a" postive or negative based on the text value of column "b" For example: $126,513.00 c $5,616,156.00 d $132.00 d $156.00 d $55,444.00 c When I upload the data all numbers come up positive. I would like it to make it so the number comes up negative if column b contains a "c" and positive if it contains a "d". I am willing to have to create a function in row c and have the numbers in "a" move to column "c". |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
perfect!
"Pete_UK" wrote: Put this formula in C1, then: =IF(B1="c",-A1,A1) and copy down (double-click the fill handle [the small black square in the bottom right corner of the cursor] with C1 selected). If you want to put the values back in column A, then highlight the cells in C, click <copy then Edit | Paste Special | Values (check) | OK then <Enter. This will have fixed the values, so that you can now copy them over the original values in column A and delete column C. Hope this helps. Pete On Oct 29, 7:00 pm, adam wrote: How do I make the numerical value of column "a" postive or negative based on the text value of column "b" For example: $126,513.00 c $5,616,156.00 d $132.00 d $156.00 d $55,444.00 c When I upload the data all numbers come up positive. I would like it to make it so the number comes up negative if column b contains a "c" and positive if it contains a "d". I am willing to have to create a function in row c and have the numbers in "a" move to column "c". |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for the feedback.
Pete On Oct 29, 7:29 pm, adam wrote: perfect! "Pete_UK" wrote: Put this formula in C1, then: =IF(B1="c",-A1,A1) and copy down (double-click the fill handle [the small black square in the bottom right corner of the cursor] with C1 selected). If you want to put the values back in column A, then highlight the cells in C, click <copy then Edit | Paste Special | Values (check) | OK then <Enter. This will have fixed the values, so that you can now copy them over the original values in column A and delete column C. Hope this helps. Pete On Oct 29, 7:00 pm, adam wrote: How do I make the numerical value of column "a" postive or negative based on the text value of column "b" For example: $126,513.00 c $5,616,156.00 d $132.00 d $156.00 d $55,444.00 c When I upload the data all numbers come up positive. I would like it to make it so the number comes up negative if column b contains a "c" and positive if it contains a "d". I am willing to have to create a function in row c and have the numbers in "a" move to column "c".- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
making # + or - based on another cells contents | Excel Discussion (Misc queries) | |||
negative and positive sums | Excel Worksheet Functions | |||
Some Positive, Some Negative | Excel Worksheet Functions | |||
IF positive/If negative???? | Excel Worksheet Functions | |||
Formula to make Negative Values Positive & Positive Values Negative? | Excel Discussion (Misc queries) |