Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Entering a cell with Criterias

Hi All,

I think this should be covered on my earlier questions. But I am trimming my
question way simpler, so that it gives a clearer picture.

I have coloumns as followed:

Coloumn A = Code
Coloumn B = Reff
Coloumn C = Date
Coloumn D = Description
Coloumn E = Amount

I would like Cells on coloumn C, D, E can only be filled IF
BOTH corresponding cell A AND cell B is filled.
IF empty, then can not be FILLED.

Example.

Cell C1 / D1 / E1 can ONLY be filled if A1 and B1 have value or NOT EMPTY.
Cell C2 / D2 / E2 can ONLY be filled if A2 and B2 have value or NOT EMPTY.
etc


If possible, can this be done withour VB.
Perhaps through data validation OR through IF formulas???

Thanks experts !!!





  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Entering a cell with Criterias

For just display, or printout purposes, you could use Conditional Formatting
to turn the font to white in C,D,E if no values in A,B
if they type something in C,D,E it would be there, but would not
show........

Vaya con Dios,
Chuck, CABGx3





"apache007" wrote in message
...
Hi All,

I think this should be covered on my earlier questions. But I am trimming
my
question way simpler, so that it gives a clearer picture.

I have coloumns as followed:

Coloumn A = Code
Coloumn B = Reff
Coloumn C = Date
Coloumn D = Description
Coloumn E = Amount

I would like Cells on coloumn C, D, E can only be filled IF
BOTH corresponding cell A AND cell B is filled.
IF empty, then can not be FILLED.

Example.

Cell C1 / D1 / E1 can ONLY be filled if A1 and B1 have value or NOT
EMPTY.
Cell C2 / D2 / E2 can ONLY be filled if A2 and B2 have value or NOT
EMPTY.
etc


If possible, can this be done withour VB.
Perhaps through data validation OR through IF formulas???

Thanks experts !!!







  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Entering a cell with Criterias

I don't believe you're going to do this without VBA. No worksheet function
can lock or unlock cells, nor can it force 'focus' or activecell to another
cell.

If you put IF formulas into C,D & E, they're going to be overwritten by
whatever the user types into them, regardless of the state of A and/or B.

"apache007" wrote:

Hi All,

I think this should be covered on my earlier questions. But I am trimming my
question way simpler, so that it gives a clearer picture.

I have coloumns as followed:

Coloumn A = Code
Coloumn B = Reff
Coloumn C = Date
Coloumn D = Description
Coloumn E = Amount

I would like Cells on coloumn C, D, E can only be filled IF
BOTH corresponding cell A AND cell B is filled.
IF empty, then can not be FILLED.

Example.

Cell C1 / D1 / E1 can ONLY be filled if A1 and B1 have value or NOT EMPTY.
Cell C2 / D2 / E2 can ONLY be filled if A2 and B2 have value or NOT EMPTY.
etc


If possible, can this be done withour VB.
Perhaps through data validation OR through IF formulas???

Thanks experts !!!





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Entering a cell with Criterias

Hi,

You can do this with data validation.

Select columns C, D & E as far down as you want this to apply starting in
Row 1 then

Data|Validation - Select CUSTOM and in the formula input box enter the formula

=COUNTA(A1:B1)=2

Click the 'Error Alert' tab and in the text box type a suitable error
message for the user.

OK.

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"apache007" wrote:

Hi All,

I think this should be covered on my earlier questions. But I am trimming my
question way simpler, so that it gives a clearer picture.

I have coloumns as followed:

Coloumn A = Code
Coloumn B = Reff
Coloumn C = Date
Coloumn D = Description
Coloumn E = Amount

I would like Cells on coloumn C, D, E can only be filled IF
BOTH corresponding cell A AND cell B is filled.
IF empty, then can not be FILLED.

Example.

Cell C1 / D1 / E1 can ONLY be filled if A1 and B1 have value or NOT EMPTY.
Cell C2 / D2 / E2 can ONLY be filled if A2 and B2 have value or NOT EMPTY.
etc


If possible, can this be done withour VB.
Perhaps through data validation OR through IF formulas???

Thanks experts !!!





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Entering a cell with Criterias

BRAVOOOO !!!!!

SIMPLE, ELEGANT AND TO THE POINT.

Thanks MIKE.

Cheers !!!


"Mike H" wrote:

Hi,

You can do this with data validation.

Select columns C, D & E as far down as you want this to apply starting in
Row 1 then

Data|Validation - Select CUSTOM and in the formula input box enter the formula

=COUNTA(A1:B1)=2

Click the 'Error Alert' tab and in the text box type a suitable error
message for the user.

OK.

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"apache007" wrote:

Hi All,

I think this should be covered on my earlier questions. But I am trimming my
question way simpler, so that it gives a clearer picture.

I have coloumns as followed:

Coloumn A = Code
Coloumn B = Reff
Coloumn C = Date
Coloumn D = Description
Coloumn E = Amount

I would like Cells on coloumn C, D, E can only be filled IF
BOTH corresponding cell A AND cell B is filled.
IF empty, then can not be FILLED.

Example.

Cell C1 / D1 / E1 can ONLY be filled if A1 and B1 have value or NOT EMPTY.
Cell C2 / D2 / E2 can ONLY be filled if A2 and B2 have value or NOT EMPTY.
etc


If possible, can this be done withour VB.
Perhaps through data validation OR through IF formulas???

Thanks experts !!!







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Entering a cell with Criterias

Glad I could help and thanks for the feedback
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"apache007" wrote:

BRAVOOOO !!!!!

SIMPLE, ELEGANT AND TO THE POINT.

Thanks MIKE.

Cheers !!!


"Mike H" wrote:

Hi,

You can do this with data validation.

Select columns C, D & E as far down as you want this to apply starting in
Row 1 then

Data|Validation - Select CUSTOM and in the formula input box enter the formula

=COUNTA(A1:B1)=2

Click the 'Error Alert' tab and in the text box type a suitable error
message for the user.

OK.

--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"apache007" wrote:

Hi All,

I think this should be covered on my earlier questions. But I am trimming my
question way simpler, so that it gives a clearer picture.

I have coloumns as followed:

Coloumn A = Code
Coloumn B = Reff
Coloumn C = Date
Coloumn D = Description
Coloumn E = Amount

I would like Cells on coloumn C, D, E can only be filled IF
BOTH corresponding cell A AND cell B is filled.
IF empty, then can not be FILLED.

Example.

Cell C1 / D1 / E1 can ONLY be filled if A1 and B1 have value or NOT EMPTY.
Cell C2 / D2 / E2 can ONLY be filled if A2 and B2 have value or NOT EMPTY.
etc


If possible, can this be done withour VB.
Perhaps through data validation OR through IF formulas???

Thanks experts !!!





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
Entering digits in a cell with numbers already inside cell [email protected] Excel Worksheet Functions 4 August 18th 08 10:34 PM
Entering value in the cell Ridhi Excel Discussion (Misc queries) 1 April 24th 08 09:23 AM
Entering value in a cell Ridhi Excel Worksheet Functions 2 April 24th 08 09:06 AM
after entering a text in one cell, next cell should disp the entd Sridhar Excel Discussion (Misc queries) 1 August 17th 07 02:18 AM
How do you do hard returns in 1 cell? entering address in 1 cell Jenn Excel Discussion (Misc queries) 2 June 18th 07 03:28 PM


All times are GMT +1. The time now is 08:13 AM.

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"