INDIRECT formula

Johnboy28

Board Regular
Joined
Jun 22, 2013
Messages
207
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2010
Platform
  1. Windows
Hi - is there a way to change this formula to pick up text? as I need to be able to pick up the Plan. Lookup would need to match the No and return Plan.

=IF(SUMIF(INDIRECT($C$4),A9,INDIRECT($C$6))=0,"0",(SUMIF(INDIRECT($C$4),A9,INDIRECT($C$6))))'



No.WgtPlan
Weights & No. 1282FJ
No.Yield!f:f 2296JP
PlanYield!h:h 3344FD
WgtYield!g:g 4255Woody
5242Apple
No.WgtPlan 6156HG
1281.90?? 7185Orange
2295.90 8265Woody
3344.40 9305FD
4255.00 10288FJ
5242.00 11422JP
6156.00 12120FJ
 

Attachments

  • Sample.JPG
    Sample.JPG
    53 KB · Views: 4
Not with SUMIF, but you can use various lookup functions - e.g.

Excel Formula:
=INDEX(INDIRECT($C$5),MATCH(A9,INDIRECT($C$4),0))
 
Upvote 0

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