Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

xlook up

ResolvedVersion 365

Holly has attended:
Excel Advanced course

Xlook up

Hi,

I am trying to use the Xlookup function on a cash burn document, however it is only showing results for one cell.

The excel sheet has multiple sheets for different bank statements, with individual transaction lines. I assign these to a category. What I need the Xlookup to do is when the category is mentioned in Column E, To add the numbers together from Column C. However, it is not adding the values up from various transaction lines with the same category. How would you suggest doing this?

RE: Xlook up

Hi Holly

Thank you for your question

It looks like you can use the SUMIF to get your answer. I don't think the XLOOKUP would work in this case because it only applies to unique values and your example has the category name appearing multiple times, as I understand it. Let's say your category was CATEGORY A in Column E and all the values in Column C were Costs. The formula would look something like:

=SUMIF(E:E,"CATEGORY A",C:C)

This would sum all the Category A costs

I hope this helps. Please let me know if it has worked or if you need more assistance

Kind Regards

Martin Sutherland
(MOS Applications Trainer)

Tue 8 Nov 2022: Automatically marked as resolved.

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Calculate difference between two times

For presenting the result in the standard time format (hours : minutes : seconds . Use the subtraction operator (-) to find the difference between times, and the TEXT function to format the returned value to text in a specific number format.

Hours never exceed 24, minutes never exceed 60, and seconds never exceed 60.

=TEXT(B2-A2,"h")
Hours between two times (4)

=TEXT(B2-A2,"h:mm")
Hours and minutes between two times (4:55)

=TEXT(B2-A2,"h:mm:ss")
Hours and seconds between two times (4:55:00)

Where B2 and A2 must hold the end time and start time respectively formatted as a time format

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.