#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 183
Default if and vlookup

I have 3 colomns and a few rows.
I need to look up colomn C where it has either "N" for no or "Y" for yes.
I need a formula where if it says yes, then I need it to grab a number on
column B and multiply it by a specific tax %. If it is a no, just to leave it
alone.

So it looks like this
Tax is E1
A B C D
-------------------------------------------------------------
Company name 100 N
Company B 300 Y answer (E1*B
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default if and vlookup

Try something like this:

=IF(C1<"Y","",B1*E1)

Copy down as needed.

Biff

"Caroline" wrote in message
...
I have 3 colomns and a few rows.
I need to look up colomn C where it has either "N" for no or "Y" for yes.
I need a formula where if it says yes, then I need it to grab a number on
column B and multiply it by a specific tax %. If it is a no, just to leave
it
alone.

So it looks like this
Tax is E1
A B C D
-------------------------------------------------------------
Company name 100 N
Company B 300 Y answer (E1*B



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default if and vlookup

=IF(C1="Y",B1*E1,"")

"Caroline" wrote:

I have 3 colomns and a few rows.
I need to look up colomn C where it has either "N" for no or "Y" for yes.
I need a formula where if it says yes, then I need it to grab a number on
column B and multiply it by a specific tax %. If it is a no, just to leave it
alone.

So it looks like this
Tax is E1
A B C D
-------------------------------------------------------------
Company name 100 N
Company B 300 Y answer (E1*B

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
VLookup a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 01:40 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"