ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   offset (https://www.excelbanter.com/excel-worksheet-functions/165220-offset.html)

Rick

offset
 
I want to find the word Total located in column A, the word total will move
but does stay in A, and return the total value located in column B next to
the word Total.

Peo Sjoblom

offset
 
=VLOOKUP("Total",A:B,2,0)


--


Regards,


Peo Sjoblom


"Rick" wrote in message
...
I want to find the word Total located in column A, the word total will move
but does stay in A, and return the total value located in column B next to
the word Total.




Teethless mama

offset
 
=SUMIF(A:A,"Total",B:B)


"Rick" wrote:

I want to find the word Total located in column A, the word total will move
but does stay in A, and return the total value located in column B next to
the word Total.


Max

offset
 
"Rick" wrote:
I want to find the word Total located in column A, the word total will move
but does stay in A, and return the total value located in column B next to
the word Total.


Eyeing the hint in your subject line,
an alternative* play using OFFSET
In C1: =OFFSET(B1,MATCH("Total",A:A,0)-1,)

*but not necessarily better
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


All times are GMT +1. The time now is 01:33 AM.

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