Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Help - If statement in cell

I need help. I am pulling data from another spreadsheet using VLookUp.
The data is in two columns side by side. Some of the data comes back with
a 0 as the cell it is searching is empty.

I am trying to put an If statement in a third column to copy the cell with
a value and ignore the cell with a 0. EXCEPT that when there is a non 0
value in the second column.

Example

25 0 25
12 0 12
25 12 12

I hope someone can help.

Thanks,

Denis
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help - If statement in cell

c2=if(vlookup(a2,SOURCE,2,0)="",vlookup(a2,SOURCE, 1,0),vlookup(a2,SOURCE,2,0))



"Denis" дÈëÏûÏ¢
...
I need help. I am pulling data from another spreadsheet using VLookUp.
The data is in two columns side by side. Some of the data comes back with
a 0 as the cell it is searching is empty.

I am trying to put an If statement in a third column to copy the cell with
a value and ignore the cell with a 0. EXCEPT that when there is a non 0
value in the second column.

Example

25 0 25
12 0 12
25 12 12

I hope someone can help.

Thanks,

Denis


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Help - If statement in cell

Thanks Evan


"Evan Lee" wrote in
:

c2=if(vlookup(a2,SOURCE,2,0)="",vlookup(a2,SOURCE, 1,0),vlookup(a2,SOURC
E,2,0))


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
IF...AND statement in cell NISMOJim New Users to Excel 3 September 25th 10 03:09 AM
IF Statement Help - Not seeing whole cell stumped Excel Worksheet Functions 4 December 31st 09 05:06 PM
if statement? Want to populate whats in cell or N/A if cell is zer Melanie Excel Worksheet Functions 3 December 27th 07 05:49 PM
How to use if statement for a #N/A cell noyau Excel Discussion (Misc queries) 3 January 11th 07 02:43 PM
If statement on cell with #N/A ChrisMattock Excel Worksheet Functions 4 June 28th 06 11:14 AM


All times are GMT +1. The time now is 05:39 AM.

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"