INDEX and IF statement?

Tatum2020

New Member
Joined
Nov 25, 2020
Messages
37
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello,

I hope you're all well and keeping safe.

I hope you can assist me with what could be an easy fix.

I have two sheets, the first sheet is a summary sheet and the second is a raw data/ data dump sheet (please see example below):

Sheet 1: Summary
KPIsWeek 19Week 20
Revenue100200
Profit20120

Sheet 2: Raw data
KPIsWeek 19Week 20Week 21Week 20Week 21Week 22Week 23Week 24Week 25
Revenue100200180220200180150220200
Profit202030503025305050

What I would like to do (if possible), is that the revenue and profit figures automatically populate in sheet 1 when I change the week numbers? E.g., if I delete week 19 and type Week 22. The figures from Week 22 from the raw data tab should automatically populate. I hope I am making sense.


Please help!

Thank you in advance.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
try

Book1
ABCDEFGHIJ
1KPIsWeek 19Week 23
2Revenue100150
3Profit2030
4
5KPIsWeek 19Week 20Week 21Week 20Week 21Week 22Week 23Week 24Week 25
6Revenue100200180220200180150220200
7Profit202030503025305050
Sheet3
Cell Formulas
RangeFormula
B2:C3B2=INDEX($B$6:$J$7,MATCH($A2,$A$6:$A$7,0),MATCH(B$1,$B$5:$J$5,0))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,818
Messages
6,181,150
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top