Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Merging Column Data

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!

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

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 message
oups.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!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Merging Column Data

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Merging Column Data

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.

  #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.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Merging Column Data

On Jun 30, 3:55 am, "Ian" wrote:
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 oglegroups.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.- Hide quoted text -


- Show quoted text -


Let me see if I can clear this up a bit, as I've gotten a bit confused
myself, So I'm forming a type of timecard that has the user inserting
names inside column A. I want a value to come up in Column C
automatically when a name is inserted into Column A, I would like this
value to come up from data from another sheet called Lookup Sheet at
this point in time. I want something similar to C2 =
B2FromLookupSheet*8-B:B. Is there an Excel formula for this type, I'm
not sure, I am fairly new to Excel and have only begun to tinker with
macros and formulas.

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
Merging multiple columns of data into one column of data Archangel Excel Discussion (Misc queries) 7 February 24th 07 10:02 AM
Column Merging Scott McKinney Excel Worksheet Functions 1 January 19th 06 06:23 AM
Merging a vertical column PAM Excel Discussion (Misc queries) 2 September 21st 05 08:51 PM
Column format when merging Excel data to Word labels Red Excel Discussion (Misc queries) 1 April 6th 05 03:40 AM
Scanning for Duplicate Data in a Column, Merging Data and Finally Removing All Duplicates...? : VB : Excel Programming 2 August 24th 03 02:22 PM


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