Forum Discussion

ikedalim's avatar
ikedalim
Copper Contributor
Nov 24, 2021
Solved

How to relate a variable cell's value to a particular worksheet?

I have a MS Excel problem which I could not solve, if I have 12 months worksheets (1-12) & another separate working worksheet where I assign a variable cell to allow user to input a character between 1-12, and this number will link to the particular month worksheet to retrieve some data. Any idea how to solve that? Thank you.

6 Replies

    • ikedalim's avatar
      ikedalim
      Copper Contributor

      OliverScheurich 

      Thanks for the quick respond & very much appreciated. I have attached the example in my attachment jpeg file where in diagram 1, user will input value in month, day & store #, in order to retrieve total qty value from that particular month worksheet (diagram 2). In this case, I know how to apply functions like index & match but how to integrate this INDIRECT function into index & match functions?  Please advice. Thank you very much.

  • Hi ikedalim,

     

    You would need INDIRECT function to refer it to sheet, please share sample workbook if need further support

     

    Regards, Faraz Shaikh | Microsoft MVP, MCT, MIE, MOS Master, Excel Expert

    If you find the above solution resolved your query don't forget mark as Official/Best Answer & like it to help the other members find it more.

    • ikedalim's avatar
      ikedalim
      Copper Contributor

      ExcelExciting 

      Thanks for the quick respond & very much appreciated. I have attached the example in my attachment jpeg file where in diagram 1, user will input value in month, day & store #, in order to retrieve total qty value from that particular month worksheet (diagram 2). In this case, I know how to apply functions like index & match but how to integrate this INDIRECT function into index & match functions?  Please advice. Thank you very much.

Resources