[Solved] Perform table lookup

Discuss the spreadsheet application
Post Reply
Phoenix1151
Posts: 6
Joined: Sat Aug 15, 2026 11:04 pm

[Solved] Perform table lookup

Post by Phoenix1151 »

I have a table of relational values in my spreadsheet. One value from H8 to H18 is to be selected in G6. A corresponding value in K8 to K18 to the value chosen for G6 is to be copied into G7. The FORMAT-CONDITIONAL doesn't seem to support this maneuver. How can I achieve this maneuver? It is essentially IF G6=H8 THEN G7=K8, IF G6=H9 THEN G7=K9, etc.

 Edit: Changed subject, was Conditional Formatting 
Make your post understandable by others 
-- MrProgrammer, forum moderator 
Last edited by MrProgrammer on Fri Sep 04, 2026 6:50 pm, edited 2 times in total.
Reason: Edited topic's subject since this goal has nothing to do with conditional formatting
Open Office 4.1.16 on Windows 10
Phoenix1151
Posts: 6
Joined: Sat Aug 15, 2026 11:04 pm

Re: CONDITIONAL FORMATTING

Post by Phoenix1151 »

I'm reviewing ARRAY FUNCTIONS now.
Open Office 4.1.16 on Windows 10
User avatar
MrProgrammer
Moderator
Posts: 5470
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: CONDITIONAL FORMATTING

Post by MrProgrammer »

Phoenix1151 wrote: Tue Aug 18, 2026 8:23 pm I have a table of relational values in my spreadsheet. … A corresponding value … for G6 is to be copied into G7.
Read [Tutorial] VLOOKUP questions and answers. Use 0 as the fourth parameter.

Phoenix1151 wrote: Tue Aug 18, 2026 8:23 pm Conditional Formatting
Setting G7's value has nothing to do with formatting. Values and formats are separate cell properties. Setting the value doesn't affect the format. Setting the format doesn't affect the value.

[Tutorial] Ten concepts that every Calc user should know

If this solved your problem please go to your first post use the Edit ✏️ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Post Reply