Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Maileen
 
Posts: n/a
Default check value into cells

Hi,

I have a column (for example A) in which sometime it is written "Total".
In another column (for example D) but on the same row than "Total", I have
the value of this Total.

What i would like to do is :

to scann all A column and everytime that i found "Total", I would like to
get the value stored into colum D..

after collecting all values of totals, i will add them to 1 cell (to another
sheet).
for example,

A5 = Total, D5 = 25100
....
A41=Total, D41=15455


how can i do that automaticaly without doing macro ?

thanks a lot,
Maileen.
  #2   Report Post  
Vikrant Vaidya
 
Posts: n/a
Default

You almost wrote the formula while explaining the question

put this formula in d1 : =if(a1='TOTAL',your value,"")

your value is the value you want in d1.

Then simply pull down the formula in the whole column.

"Maileen" wrote:

Hi,

I have a column (for example A) in which sometime it is written "Total".
In another column (for example D) but on the same row than "Total", I have
the value of this Total.

What i would like to do is :

to scann all A column and everytime that i found "Total", I would like to
get the value stored into colum D..

after collecting all values of totals, i will add them to 1 cell (to another
sheet).
for example,

A5 = Total, D5 = 25100
...
A41=Total, D41=15455


how can i do that automaticaly without doing macro ?

thanks a lot,
Maileen.

  #3   Report Post  
crazybass2
 
Posts: n/a
Default

Maileen,

=SUMIF(A1:A8,"=Total",D1:D8)

Place the formula in the cell you want the Total of totals to be in. Change
the range to fit your spreadsheet. NOTE: The text "Total" shouldn't be case
sentitive, but try to keep it consistant anyway.

Mike

"Maileen" wrote:

Hi,

I have a column (for example A) in which sometime it is written "Total".
In another column (for example D) but on the same row than "Total", I have
the value of this Total.

What i would like to do is :

to scann all A column and everytime that i found "Total", I would like to
get the value stored into colum D..

after collecting all values of totals, i will add them to 1 cell (to another
sheet).
for example,

A5 = Total, D5 = 25100
...
A41=Total, D41=15455


how can i do that automaticaly without doing macro ?

thanks a lot,
Maileen.

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
linking cells in Excel 2003. How to not truncate to 255 characters. GarryFerg Excel Discussion (Misc queries) 5 December 8th 04 03:33 PM
about protect just cells tjtjjtjt Excel Discussion (Misc queries) 3 December 7th 04 01:35 PM
How can I merge unlocked cells in a worksheet that has been protec NeedMergeHelp Excel Discussion (Misc queries) 2 December 7th 04 01:20 AM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM
Cells losing formatting BdgBill Excel Discussion (Misc queries) 1 November 26th 04 08:03 AM


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