ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Incremental number for a fetching data (https://www.excelbanter.com/excel-worksheet-functions/165391-incremental-number-fetching-data.html)

The Ron

Incremental number for a fetching data
 
Here's the next part of the puzzle Cell I2:
=IF(Sheet3!A2=Sheet3!A1,Sheet3!E3,Sheet3!E3)

Cell I3:
=IF(Sheet3!A5=Sheet3!A4,Sheet3!E6,Sheet3!E6)

the cell wich the data is fetched from, eg. Sheet3!E3 has to increase be
increments of 3


Tom Hutchins

Incremental number for a fetching data
 
If your intention is to copy the formula down through more contiguous rows in
column I, try this in I2:
=IF(Sheet3!A4=Sheet3!A3,INDIRECT("Sheet3!E" &
(ROW()-1)*3),INDIRECT("Sheet3!E" & (ROW()-1)*3))

and copy down as needed. Please note, your formula returns the same value
whether the IF condition evaluates to TRUE or FALSE.

Hope this helps,

Hutch

"The Ron" wrote:

Here's the next part of the puzzle Cell I2:
=IF(Sheet3!A2=Sheet3!A1,Sheet3!E3,Sheet3!E3)

Cell I3:
=IF(Sheet3!A5=Sheet3!A4,Sheet3!E6,Sheet3!E6)

the cell wich the data is fetched from, eg. Sheet3!E3 has to increase be
increments of 3



All times are GMT +1. The time now is 09:51 PM.

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