Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default =if using cells with % or text

I would like to do the following :

Look at cell a1 to see if the letter in that cell is either S (for standard
VAT) or Z (for Zero Vat). Then depending on what letter is cell a1, I would
like to multiply an amount in cell a2 by either 17.5% if S or 0% if Z.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 419
Default =if using cells with % or text

spudsnruf,

In cell A3 enter:

=If(A1="S",A2*0.175,0)

Now that would calculate the amount of tax (the amount that needs to be
added to the subtotal).

If you want, you can calculate the total like this:

=If(A1="S",A2*1.175,A2)

HTH,

Conan




"spudsnruf" wrote in message
...
I would like to do the following :

Look at cell a1 to see if the letter in that cell is either S (for
standard
VAT) or Z (for Zero Vat). Then depending on what letter is cell a1, I
would
like to multiply an amount in cell a2 by either 17.5% if S or 0% if Z.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default =if using cells with % or text

Brilliant. Thanks. Appreciate it.

"Conan Kelly" wrote:

spudsnruf,

In cell A3 enter:

=If(A1="S",A2*0.175,0)

Now that would calculate the amount of tax (the amount that needs to be
added to the subtotal).

If you want, you can calculate the total like this:

=If(A1="S",A2*1.175,A2)

HTH,

Conan




"spudsnruf" wrote in message
...
I would like to do the following :

Look at cell a1 to see if the letter in that cell is either S (for
standard
VAT) or Z (for Zero Vat). Then depending on what letter is cell a1, I
would
like to multiply an amount in cell a2 by either 17.5% if S or 0% if Z.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count single Text in cells with multiple text entries WSC Excel Discussion (Misc queries) 6 January 9th 07 04:17 PM
merged cells into one text cell, size varies dependant on text dat Jazzylady825 Excel Discussion (Misc queries) 0 December 9th 05 08:26 PM
In Excel, option to enter text in cells the same as text boxes RobGMU Excel Worksheet Functions 0 October 26th 05 04:20 PM
Text shown up in other cells everytime a text is entered in 1 cell bioyyy Excel Discussion (Misc queries) 1 August 26th 05 05:26 PM
How to input additional text to multiple of existing cells that has text [email protected] Excel Worksheet Functions 2 June 21st 05 01:46 AM


All times are GMT +1. The time now is 10:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"