#1   Report Post  
Chandrashekhar
 
Posts: n/a
Default IF FUNCTION

CAN I INSERT ROW OR COLUMN WHILE USING IF FUNTION FORMULA.

THANK YOU !!
  #2   Report Post  
Dave R.
 
Posts: n/a
Default

This cannot be done with a formula but could be done with VBA.


"Chandrashekhar" wrote in message
...
CAN I INSERT ROW OR COLUMN WHILE USING IF FUNTION FORMULA.

THANK YOU !!



  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

No

Worksheet Function Formulas can only return values to the cell in which they
reside.

To insert rows and/or columns you would need your "If" statement in a macro.

Sub Insert_Row()
If ActiveSheet.Range("A1").Value = "chan" Then
Range("A1").Offset(3, 0).EntireRow.Insert
End If
End Sub

Gord Dibben Excel MVP

On Wed, 24 Nov 2004 21:11:02 -0800, "Chandrashekhar"
wrote:

CAN I INSERT ROW OR COLUMN WHILE USING IF FUNTION FORMULA.

THANK YOU !!


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
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM
Counting Function Dilemma Simon Lloyd Excel Worksheet Functions 0 November 8th 04 03:13 PM
need to save values from a function before it changes Ron Excel Worksheet Functions 1 October 29th 04 06:29 AM


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