Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default If condition

I have three columns in a separate worksheet suppose worksheet "A". I want to
compare a cell value in another worksheet "B" with the first column of the
worksheet "A" and if a perfect match is found i want to perform calculation
based on the rows in which the match was found.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default If condition

Try something similar to:

=if(isna(vlookup()),0,vlookup()*2)

"Lucky_Tiaz" wrote:

I have three columns in a separate worksheet suppose worksheet "A". I want to
compare a cell value in another worksheet "B" with the first column of the
worksheet "A" and if a perfect match is found i want to perform calculation
based on the rows in which the match was found.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default If condition

How to do this depends on the calculation you want to do. If it is just
counting or adding you may be able to use COUNTIF or SUMIF functions to do
this (look in help for details).

"Lucky_Tiaz" wrote:

I have three columns in a separate worksheet suppose worksheet "A". I want to
compare a cell value in another worksheet "B" with the first column of the
worksheet "A" and if a perfect match is found i want to perform calculation
based on the rows in which the match was found.

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
MAX with condition andrew Excel Discussion (Misc queries) 0 June 23rd 08 11:07 AM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
Combine an OR condition with an AND condition Will Excel Discussion (Misc queries) 1 April 6th 07 03:52 PM
Condition 1 overules condition 2? Bultgren Excel Worksheet Functions 2 January 20th 06 12:29 PM
using AND and OR as an if then condition Frank Brown[_2_] Excel Programming 2 January 21st 04 05:12 PM


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