#1   Report Post  
Baffle, Atlanta, Ga
 
Posts: n/a
Default Excell If then

In excell How do I write the formula to say
If Sheet One Column A10 enter Data in B1, B2, B3 on sheet 2 Column C1, C2,
C3
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You would need multiple formulas for that, one for each cell you want data
entered in. Formulas can only return a value in the cell that holds the
formulas

--
Regards,

Peo Sjoblom


"Baffle, Atlanta, Ga" <Baffle, Atlanta, wrote
in message ...
In excell How do I write the formula to say
If Sheet One Column A10 enter Data in B1, B2, B3 on sheet 2 Column C1,
C2,
C3


  #3   Report Post  
Max
 
Posts: n/a
Default

Just another interp. Try this play

In Sheet1
------------
Use an empty col to the right, say col E?

Put in E1:
=IF($A$1="","",IF(AND(ISNUMBER($A$1),$A$10,B1<"" ),ROW(),""))

Copy down to say, E100,
to cover the max expected data range in col B

In Sheet2
----------
Put in C1:

=IF(ISERROR(SMALL(Sheet1!$E:$E,ROWS($A$1:A1))),"", INDEX(Sheet1!B:B,MATCH(SMA
LL(Sheet1!$E:$E,ROWS($A$1:A1)),Sheet1!$E:$E,0)))

Copy down to C100
(cover the same range as in Sheet1's col E)

Provided Sheet1's A1 contains a number 0, col C will auto-return data
entered* in Sheet1's col B. The data returned in col C will be bunched at
the top, but w/o any "blank" cells in-between successive data if "blank"
cells were present in Sheet1's col B
*or values returned by formulas in col B
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Baffle, Atlanta, Ga" <Baffle, Atlanta, wrote
in message ...
In excell How do I write the formula to say
If Sheet One Column A10 enter Data in B1, B2, B3 on sheet 2 Column C1,

C2,
C3



  #4   Report Post  
Baffle, Atlanta, Ga
 
Posts: n/a
Default

Thank you, But it did not work
I am very new to this.
I have a sheet - sheet 1 which has names in column b, c, d and if the number
one is in column A on sheet one, I want it to pull the names in column b,
c, d on sheet 1 to sheet 2 column b, c, d. If sheet 1 column a has z zero
I want it to skip it and go to the next row with a number 1 in column A. You
see, I only want the data on sheet 2 if I have a one in column 1. I want it
to skip all records until it sees a One again in column a sheet one.

Does this help.

"Max" wrote:

Just another interp. Try this play

In Sheet1
------------
Use an empty col to the right, say col E?

Put in E1:
=IF($A$1="","",IF(AND(ISNUMBER($A$1),$A$10,B1<"" ),ROW(),""))

Copy down to say, E100,
to cover the max expected data range in col B

In Sheet2
----------
Put in C1:

=IF(ISERROR(SMALL(Sheet1!$E:$E,ROWS($A$1:A1))),"", INDEX(Sheet1!B:B,MATCH(SMA
LL(Sheet1!$E:$E,ROWS($A$1:A1)),Sheet1!$E:$E,0)))

Copy down to C100
(cover the same range as in Sheet1's col E)

Provided Sheet1's A1 contains a number 0, col C will auto-return data
entered* in Sheet1's col B. The data returned in col C will be bunched at
the top, but w/o any "blank" cells in-between successive data if "blank"
cells were present in Sheet1's col B
*or values returned by formulas in col B
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Baffle, Atlanta, Ga" <Baffle, Atlanta, wrote
in message ...
In excell How do I write the formula to say
If Sheet One Column A10 enter Data in B1, B2, B3 on sheet 2 Column C1,

C2,
C3




  #5   Report Post  
Max
 
Posts: n/a
Default

Assuming source table in Sheet1, cols A to D, data from row2 down (*Link to
a sample file is provided below)

In Sheet1
---------------
Use an empty col to the right of the data, say col E?
Put in E2: =IF(A2="","",IF(A2=1,ROW(),""))
Copy down to say, E20, to cover the max expected data range in the table

In Sheet2
-----------
With the same headers in A1:D1

Put in A2:
=IF(ISERROR(SMALL(Sheet1!$E:$E,ROWS($A$1:A1))),"", INDEX(Sheet1!A:A,MATCH(SMA
LL(Sheet1!$E:$E,ROWS($A$1:A1)),Sheet1!$E:$E,0)))

Copy A2 across to D2, fill down to D20
(cover the same range as in Sheet1)

Sheet2 will auto-return only the rows from Sheet1
where col A contains: 1, all bunched at the top

*Here's a sample file with the implemented construct:
http://flypicture.com/p.cfm?id=50033

(Right-click on the link: "Download File"
at the top in the page, just above the ads)

File: Baffle_misc_1.xls
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Baffle, Atlanta, Ga" wrote in
message ...
Thank you, But it did not work
I am very new to this.
I have a sheet - sheet 1 which has names in column b, c, d and if the

number
one is in column A on sheet one, I want it to pull the names in column

b,
c, d on sheet 1 to sheet 2 column b, c, d. If sheet 1 column a has z

zero
I want it to skip it and go to the next row with a number 1 in column A.

You
see, I only want the data on sheet 2 if I have a one in column 1. I want

it
to skip all records until it sees a One again in column a sheet one.

Does this help





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
Can I view an excell document without excell (not installed wit. Gordon Excel Discussion (Misc queries) 8 May 2nd 06 05:41 AM
F7 in zip field when doing mail merge from excell file kshinn15 Excel Discussion (Misc queries) 0 April 16th 05 09:52 PM
Can I view an excell document without excell (not installed wit. Kevin Excel Discussion (Misc queries) 1 February 16th 05 08:27 PM
lable ranges in Excell david Excel Discussion (Misc queries) 2 February 2nd 05 11:26 PM
EXCELL 2002 Glitch???? Gabriel20783 Excel Discussion (Misc queries) 1 November 29th 04 08:55 PM


All times are GMT +1. The time now is 11:35 PM.

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

About Us

"It's about Microsoft Excel"