#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default If statments

I have a workbook with 2 spreadsheets, I want to create an if statment that
does the following.....
in workbook 2 cell A,if workbook 2 cell J contains the letter c then put
cell g from workbook c else null....

How can this be done??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default If statments

Correction

If workbook 1 cell J contains the letter C then put cell G from workbook 1
in workbook 2 cell a else null.



"Lweiss" wrote:

I have a workbook with 2 spreadsheets, I want to create an if statment that
does the following.....
in workbook 2 cell A,if workbook 2 cell J contains the letter c then put
cell g from workbook c else null....

How can this be done??

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default If statments

Hi

Assuming that you want to compare values in row 1, try this formula in cell
A1 in sheet2.

=IF(Sheet1!J1="C";Sheet1!G1;"")

Regards,

Per

"Lweiss" skrev i meddelelsen
...
Correction

If workbook 1 cell J contains the letter C then put cell G from workbook 1
in workbook 2 cell a else null.



"Lweiss" wrote:

I have a workbook with 2 spreadsheets, I want to create an if statment
that
does the following.....
in workbook 2 cell A,if workbook 2 cell J contains the letter c then put
cell g from workbook c else null....

How can this be done??


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 Statments Jason Excel Discussion (Misc queries) 2 January 3rd 08 05:33 PM
AND OR IF Statments Rogie Excel Worksheet Functions 3 February 12th 07 04:01 AM
IF statments and ranges Idz21 Excel Worksheet Functions 1 February 23rd 06 03:51 PM
If Statments containing letters Rick Wiley Excel Discussion (Misc queries) 2 November 9th 05 08:09 PM
Conditional statments. Paul987 Excel Discussion (Misc queries) 3 October 27th 05 09:25 PM


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