View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default Merging Column Data

Your last comment suggets that you are amending the value in column B after
entering data in column A.
Your previous requests suggest that when data is entered in column A, you
need column C=0 unless there is a number in column B in which case C=-B.
Does this have to be done in code, or would a formula do instead?
=IF(A1="","",-B1)

--
Ian
--
"Ahh, Excel's Tough" wrote in message
ups.com...
On Jun 29, 2:36 pm, "Ahh, Excel's Tough"
wrote:
On Jun 29, 2:19 pm, "Ian" wrote:





Looking back to the response to your previous query, I would offer a
modification to one of the lines as follows:


Target.Offset(, 2).Value = 0 - Target.Offset(, 1).Value


--
Ian
--
"Ahh, Excel's Tough" wrote in
ooglegroups.com...


Another problem has been discovered in my Excel Spreadsheet as I have
a dilemna on utilizing two formulas in one box. For example, I want
column C to automatically pop up a certain number of hours when
Column
A has a name inserted into it. However, while doing so I also want
whatever number of hours pops up for Column C, I want to subtract
whatever is in Column B from it. Is there any possible way to get
this
done, and sorry if this was a little confusing, not really sure how
to
describe it other than this.


Thanks!- Hide quoted text -


- Show quoted text -


Perfect solution, Ian, I was wondering if it was possible to also
clear out Column C when there is nothing in Column A, for example when
I clear out the name in Column A, Column C will clear out whatever
number of hours is still in Column C and return to a blank box.- Hide
quoted text -

- Show quoted text -


Also, I just realized that Column C does not subtract Column B's data
when there is something in Column A.