Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Simple formula please?

Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Simple formula please?

=IF(D3="x",C3,"")
but this cannot be in calls C3 or CD3
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"englishrose4719" wrote in
message ...
Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Simple formula please?

I believe this is what you are looking for:

=IF(D3="x",C3,"")
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"englishrose4719" wrote:

Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Simple formula please?

Thanks Luke, it sort of worked! For some reason the formula has made two
rows merge and go grey! any ideas?!

"englishrose4719" wrote:

Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Simple formula please?

thanks Luke, it sort of worked! For some reason the formula has merged two
rows and gone grey! any ideas? ER

"englishrose4719" wrote:

Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Simple formula please?

That is very...odd, to say the least.

Does the cell with the formula have some type of data validation on it? Or,
do you have a macro that is perhaps running in the background?

In short, I am very confused. Simply inputting a formula is not capable of
causing cells to merge. So, I'm thinking there must be else something going
on, perhaps in the bakground undetected.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"englishrose4719" wrote:

thanks Luke, it sort of worked! For some reason the formula has merged two
rows and gone grey! any ideas? ER

"englishrose4719" wrote:

Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Simple formula please?

Cracked it thank you! When I checked, the merge cells box was ticked (dunno
why cos it was a brand new spreadsheet) cant explain the highlight either
but at least the formula is working fine. Thank you so much - its easy when
you know what youre doing! ta.

"Luke M" wrote:

That is very...odd, to say the least.

Does the cell with the formula have some type of data validation on it? Or,
do you have a macro that is perhaps running in the background?

In short, I am very confused. Simply inputting a formula is not capable of
causing cells to merge. So, I'm thinking there must be else something going
on, perhaps in the bakground undetected.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"englishrose4719" wrote:

thanks Luke, it sort of worked! For some reason the formula has merged two
rows and gone grey! any ideas? ER

"englishrose4719" wrote:

Can any one tell me how to do the following please? If there is an X in a
cell then take the value from the previous column. ie. if D3 is not null
(has the x in it) then take the cost from C3. Im trying to keep a running
total of expenditure and have all the prices in one column and put an X in
the next column when its been paid for. thanks lots

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
Simple Formula [email protected] Excel Discussion (Misc queries) 6 July 21st 08 06:26 PM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Simple formula help zero Excel Worksheet Functions 3 June 22nd 05 11:07 AM
Simple formula help zero Excel Worksheet Functions 2 June 22nd 05 01:02 AM


All times are GMT +1. The time now is 03:02 AM.

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"