Alternatives to Nested If Statements with VLOOKUPs?

GoldenBrownMamba

New Member
Joined
Mar 13, 2017
Messages
2
Hello everybody,

I appreciate you taking the time to browse my request.

I have a report layout in which I use nested IF functions with VLOOKUPs to populate data. I'd like some tips on possible alternatives.

The layout is pretty straightforward. Here is a microcosm of what it looks like:

QuantityMeasure 1Measure 2Measure 3
A14823642
A23993523
A42332353
A74222623
A112442753
A124112752
Total A1947.94729.52639.421
B23242734
B44242734
B65317423
Total B1226.91746.58329.417

<tbody>
</tbody>

The numbers are data that I populate through VLOOKUPs. As you can see I have sections of As with it's aggregate total as well as sections with Bs with the same.

Depending on the month, the Total rows have a different set of VLOOKUPs than the single subparts such as A1 or A2 since the data for the total rows comes from somewhere else.

Each section does not always have the same subparts. For example, next month might have an A3 and an A5 while A11 might not have any.

My solution to this is to use nested IF statements with VLOOKUPS. I'd like to know if a better alternative is possible that would keep the formulas a little neater. I produce many reports like this and they often have way more than 3 measures.

I did try to do a Google search as well as a search on this forum for further assistance but I've had no luck - I say that only to express that I'm open to advice on what search terms to use as well. Maybe I'm just not aware of the more appropriate search term.

Please let me know if I need to provide more details.

Take care everybody.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Thanks for the thought- I did consider that. Where I get stuck with that idea is how the data for the totals comes from a separate sheet than the data for the subsets. In saying that, is it still possible to still use Index-Match?
 
Upvote 0
Yes of course you can. Can you please post an html of your sheet so the cell references are there. Check out Board FAQ on how to do that. I use the Jeanie.
 
Upvote 0

Forum statistics

Threads
1,215,174
Messages
6,123,454
Members
449,100
Latest member
sktz

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