Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi, My knowledge of excel is quite basic so would appreciate any help.
I am creating a spreadsheet and if i have a negative number i want to put in a column with a formula that will come up with a 'P' (for pay)and if positive then a 'c' (for credit). THanks, EggHeadCafe - Software Developer Portal of Choice HANDLING BINARY AND TEXT DATA IN XML OVER THE WIRE http://www.eggheadcafe.com/tutorials...-and-text.aspx |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Not to worry....answere my own question.
=IF(AD2<0,"P","R") Now am looking for a formula that when it sees a P will take away the - and from the number and if it is a credit it will remain the same. Thanks, Tamsyn tamsyn cross wrote: Excel question 30-Oct-09 Hi, My knowledge of excel is quite basic so would appreciate any help. I am creating a spreadsheet and if i have a negative number i want to put in a column with a formula that will come up with a 'P' (for pay)and if positive then a 'c' (for credit). THanks, Previous Posts In This Thread: EggHeadCafe - Software Developer Portal of Choice PABZlib In-Memory ASP/ XML Compression Component http://www.eggheadcafe.com/tutorials...ry-asp-xm.aspx |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
so you have a number in lets say cell B1
the in C1 put =IF(B1<=0,"P","C") This says if the value in b1 is less than or equal to zero, use the letter "P" otherwise use the letter "C") Now assuming B1 is the top of a column you now need to replicate the formula down, to do this, select the cell with the formula, C1. Hover the mouse over the bottom right hand corner until it becomes a black cross, then double click to automatically replicate the formula down the column. "tamsyn cross" wrote: Hi, My knowledge of excel is quite basic so would appreciate any help. I am creating a spreadsheet and if i have a negative number i want to put in a column with a formula that will come up with a 'P' (for pay)and if positive then a 'c' (for credit). THanks, EggHeadCafe - Software Developer Portal of Choice HANDLING BINARY AND TEXT DATA IN XML OVER THE WIRE http://www.eggheadcafe.com/tutorials...-and-text.aspx . |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On 30 Oct, 16:07, tamsyn cross wrote:
Not to worry....answere my own question. =IF(AD2<0,"P","R") Now am looking for a formula that when it sees a P will take away the - and from the number and if it is a credit it will remain the same. Thanks, Tamsyn tamsyn cross wrote: Excel question 30-Oct-09 Hi, My knowledge of excel is quite basic so would appreciate any help. I am creating a spreadsheet and if i have a negative number i want to put in a column with a formula that will come up with a 'P' (for pay)and if positive then a 'c' (for credit). THanks, Previous Posts In This Thread: EggHeadCafe - Software Developer Portal of Choice PABZlib In-Memory ASP/ XML Compression Componenthttp://www.eggheadcafe.com/tutorials/aspnet/af07211b-a0c2-45df-ab26-1... Have a look at ABS, eg =ABS(D2) Regards Steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Question | Excel Worksheet Functions | |||
Excel Question | Excel Discussion (Misc queries) | |||
Newbie Question - Subtraction Formula Question | Excel Discussion (Misc queries) | |||
The question is an excel question that I need to figure out howto do in excel. | Excel Worksheet Functions | |||
Statistical Excel Function Question within Excel 2000... | Excel Worksheet Functions |