You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to use numerous pricing tables in umbers

Hi, I would like help from someone more savvy with numbers than me. I can do basics and basic formulas but this one is a bit too complicated for me at the moment but I want to learn.


I am creating the following invoice template for my business

I would like it to lookup prices from the following tables to automatically put in a cost in each line item


For example, I would like the following options to return a value of 92 in the cost column.


Any help would be much appreciated.


MacBook Pro 15″, macOS 12.7

Posted on Aug 20, 2024 1:53 AM

Reply
3 replies

Aug 20, 2024 6:48 AM in response to j_gry2003

Assuming your AGENT 1 and AGENT 2 tables have the same structure and headers at the top and left and you use the same agent name in the invoice table as you do for the name of the corresponding table, then you can use INDIRECT, OFFSET, and XMATCH to do the lookup, something like this:



=OFFSET(INDIRECT(B2&"::$A$1"),XMATCH(C2,AGENT 1::$A),XMATCH(D2,AGENT 1::$1:$1))


More on these functions here:


OFFSET - Apple Support


XMATCH - Apple Support


INDIRECT - Apple Support


The basic idea: OFFSET counts down and right from the A1 anchor cell in the relevant table. The two XMATCH functions calculate how my rows down or columns right and feed the results to OFFSET. The INDIRECT constructs the address of the relevant table from what it finds in column B.


SG




How to use numerous pricing tables in umbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.