Computing.Net > Forums > Office Software > EXCEL formula pls help!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

EXCEL formula pls help!

Reply to Message Icon

Name: ghost ghost
Date: March 19, 2009 at 07:38:27 Pacific
OS: Windows Vista
Subcategory: Microsoft Office
Comment:

Im trying to figure out how to write the blw excel formula. Anyone can help?

For eg,

If user enter cell A1 = 60 then cell A2 will auto reflect 40 and A3 will auto sum up A1 +A2 =100.

In return if user enter cell A2 = 60 then cell A1 will auto reflect 40 and A3 will auto sum up A1+A2 = 100 as well

Excel formula can support this ? Pls help.



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: March 19, 2009 at 08:22:52 Pacific
Reply:

Excel cannot have a formula in a cell and allow for user input directly into the same cell. If there is a formula in a cell, then it would get over-written when user enters 60.

There might be a way to use a Sheet_Change macro to do what you want, but you would need to be more specific.

For example, this would do what you asked. Right click the sheet tab, choose View code and paste this in the VBA window.

Private Sub Worksheet_Change(ByVal Target As Range)
 If Target.Address = "$A$1" Then
  If Target = 60 Then Range("A2") = 40
 End If
 
 If Target.Address = "$A$2" Then
  If Target = 60 Then Range("A1") = 40
 End If
End Sub


0

Response Number 2
Name: ghost ghost
Date: March 20, 2009 at 20:03:09 Pacific
Reply:

how about if I want to apply until cell F ? how to make the it keep on looping ?


0

Response Number 3
Name: DerbyDad03
Date: March 23, 2009 at 18:19:00 Pacific
Reply:

re: how about if I want to apply until cell F ?

F is not a cell.

re:

how to make the it keep on looping ?

Looping through what?


0

Response Number 4
Name: ghost ghost
Date: March 28, 2009 at 19:19:21 Pacific
Reply:

mean that the formula will apply from cell A till cell Z


0

Response Number 5
Name: DerbyDad03
Date: March 28, 2009 at 19:33:25 Pacific
Reply:

A is not a cell, it's a column.

Z is not a cell, it too is a column.

I still don't know what you want to do. Please give us more detail.


0

Related Posts

See More



Response Number 6
Name: ghost ghost
Date: April 2, 2009 at 05:58:45 Pacific
Reply:

I mean all the formula must be apply to from cell A1 until cell Z1


0

Response Number 7
Name: DerbyDad03
Date: April 2, 2009 at 06:07:04 Pacific
Reply:

Re-read your original post.

- You wanted constants in A1 and A2
- You wanted those constants to change based on what was in each cell
- You wanted a formula in A3.

Now you say I mean all the formula must be apply to from cell A1 until cell Z1.

You never asked for a formula in A1 or A2 so I still have no idea what formula you want to apply to what cell.

Give us details like you did in your first post. Your one line responses are not helping.


0

Sponsored Link
Ads by Google
Reply to Message Icon

i want to add +91 in cont... dates again (sorry)



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: EXCEL formula pls help!

Excel Formula Help www.computing.net/answers/office/excel-formula-help/2797.html

Excel Formula, need help! www.computing.net/answers/office/excel-formula-need-help/6717.html

Help with excel formula www.computing.net/answers/office/help-with-excel-formula/4165.html