ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   lookup from one column return value from another? (https://www.excelbanter.com/excel-discussion-misc-queries/20129-lookup-one-column-return-value-another.html)

Maria

lookup from one column return value from another?
 
I want to check the value of one column (A) and then depending on the
outcome add the value in the same row but column B to a total. Can I do this
in a single cell formula or do I have to have an extra column that does the
logic test and then a cell to do the totalling?



JulieD

Hi Maria

not sure of exactly what you want
but does
=IF(A1="Fred",B1,0)
give you what you want? if not could you type out an example of your data
and what you want to see (please don't attach a workbook just type it out)

--
Cheers
JulieD

check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Maria" wrote in message
...
I want to check the value of one column (A) and then depending on the
outcome add the value in the same row but column B to a total. Can I do
this
in a single cell formula or do I have to have an extra column that does
the
logic test and then a cell to do the totalling?






All times are GMT +1. The time now is 03:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com