![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 134
|
Hi, I have a column of data containing the values, "Paid in Full" "Unpaid" and "Underpaid", I am looking for a formula that will place 0% in the next column if the data is either paid in full or underpaid, and 6% if the data is unpaid.This value is to be added as an extra charge for non payment.
Thanks Charlie |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Wellington
Posts: 104
|
Hi,
Assuming the data column contains "Paid in Full", and so on, is you column A, then formula is inserted in column B: =if(or(a1="Paid in Full",a1="Underpaid"),0%,if(a1="Unpaid",6%,"N/A")) HTH |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
|
Quote:
=IF(OR(A1={"Paid in Full","Underpaid"}),0%,6%) change the format to Percentage
__________________
"Have a good time......all the time" Ian Mac |
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 134
|
Thats great, it worked a treat.
thanks Charlie |
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
=(A1={"Paid in Full","Underpaid"})*0%+(A1="Unpaid")*6% |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|